Helps with VLOOKUP formula with correct column matching if a date is given

jaden888

New Member
Joined
Apr 10, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi, I have two workbooks called "A"(Source) and "VLOOKUP_A"(Destination) as shown in the XLBB format.
Basically in the VLOOKUP_A workbook, I would like to apply VLOOKUP formula to extract info from the source workbook "A".

However, the formula has to be able to recognize the correct date and then only can further take the rest of the column data following the correct date. As the headers after the date are the same as the others, only the date header will be changing every week when new columns are added. Would like to learn how can I use VLOOKUP to do what I want or if there is other better alternative solution for my case. Thank you.

Cell Formulas
RangeFormula
A1A1=COUNTIF(A3:A100,"*")
D1,J1,G1D1=AVERAGE(D3:D12)
B3:L12B3=RAND()


MASTER.xlsx
ABCDEFGHIJ
110
2STORE07-MarPCNGPM28-MarPCNGPM04-AprPCNGPM
3A
4B
5C
6D
7E
8F
9G
10H
11I
12J
VLOOKUP-A
Cell Formulas
RangeFormula
A1A1=COUNTIF(A3:A100,"*")
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Helps with VLOOKUP formula with correct column matching if a date is given
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Helps with VLOOKUP formula with correct column matching if a date is given
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
Hi Peter, thank you for pointing out this. I will take extra caution about this mistake. Thank you for your help.
 
Upvote 0
Hi Peter, thank you for pointing out this. I will take extra caution about this mistake. Thank you for your help.
No problem - we understand that you are new here.
Still, I hope that you took the time to peruse the other rules while you were there so you don't run foul of any others in the future. :)
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Helps with VLOOKUP formula with correct column matching if a date is given
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
A solution provided in the forum. This post consider resolve. Thank you.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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