Hi All,
I have 2 excels, a main excel named "Dates" which contains 20 random dates from January and a reference excel named "reference" which contains 5 dates from January. I have to match both the tables, find all dates of reference table in the main table and if any date is not found, reduce value of date by 1 and find again in the main table and repeat the process until a match is found of the date in the main table.
In the end, all dates of reference table should have its entry present in the main table. It will be extremely helpful if you guys could give in your inputs to help me solve the same. I have attached a picture indicating how the inputs as well as the output file should look like below.
Note- This is just a sample data set and the real data set has hundreds of entries so doing it manually takes way too much time.
Thanks in advance.
