Open workbook basis given date minus 1 and extract corresponding values from that file and put it against the value

James Clear

Board Regular
Joined
Jul 12, 2021
Messages
139
Office Version
  1. 365
  2. 2016
  3. 2013
  4. 2010
Platform
  1. Windows
I have one folder wherein Month wise files are stored ( for example in the month of Feb'22 - 1-02-22_1 & 1-02-22_1 )

for each date 2 files are stored , now I have Value let us ID in my excel with the date

For example - 573483 - 1-02-22 and so on and there are 300 to 500 entries so as per the date , I have to minus one from the given date and open that particular file and lookup columns against the ID and extract into my excel against my given IDS

So if Date is given 3-02-2022 , it will open file for the 2-02-2022 and extract values or lookup values from that file and paste into my file and close it and process will continue till the time my LAST ID has it's corresponding values.

Files which are saved at the folder from we are extracting values are vey huge in size.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top