If Then, maybe?

kpro

New Member
Joined
Dec 29, 2022
Messages
12
Office Version
  1. 365
Platform
  1. Windows
I am trying to pull the information from my "WK" sheet to the corresponding presentation "Manifest" sheet. The "Manifest" sheet will need to update daily with the information of the matching date.
i.e. The date in the "Manifest" sheet is 12/26/22. The information needs to pull from the "WK" sheet under the matching date in the matching columns.

I have tried to use =VLOOKUP(H3,'WK 12.26'!A1:AT51,2,FALSE) but can not get the information to pull up.

1672338807849.png

1672338697081.png
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hello, I'm not 100% certain which value you are trying to return, but try something like this:
Excel Formula:
=INDEX('WK 12.26'!A:BZ,3,MATCH(H3,'WK 12.26'!1:1,0)+2
=INDEX('WK 12.26'!A:BZ,3,MATCH(H3,'WK 12.26'!1:1,0)+2
The assumption here is that the date fields match.

Where this will return the 3rd row down from the date match, and 2 columns in from the date match.

  • This should return the Cust# 102236 for 12/26/2022
  • This should return the Cust# 1341 for 12/27/2022

This formula here will find the column in which your date match exists:
Excel Formula:
=MATCH(H3,'WK 12.26'!1:1,0)

Then you can use index to pull the specific row you want for the column found in the formula above.

I hope this helps!
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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