MATCH VLOOKUP

Pippy79

Board Regular
Joined
Nov 18, 2021
Messages
90
Office Version
  1. 365
Platform
  1. Windows
Hi

I'm looking to see if I can get a vlookup to display a date of collection based of the cert date

So below the cert date is fri, 16sept and i need to know that collection is mon, 19sep at 11:00 so a formula in B2+C2

ABCollection Time
1​
POTENTIAL CERT DATECOLLECTION DATECollection Time
2​
Fri, 16-Sep-22
Mon, 19-Sep-22​
11:00

The cert date is already populated (A2)

this is the key;
ABC
1​
CERT DATESHIPMENTCollection Time
2​
MonWed11:00
3​
TueThu11:00
4​
WedFri11:00
5​
ThuMon11:00
6​
FriMon11:00
7​
SatMon11:00
8​
SunTue11:00

Thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
If I understand this correctly, the collection time is ALWAYS 11:00, and therefore the hard part of this is just to work out the correct SHIPMENT date, based on the CERT date, is that correct ?

If yes, then maybe something like this, if CERT date is in A2, this will work out the SHIPMENT date . . .
=A2+2+(WEEKDAY(A2,1)=5)*2+(WEEKDAY(A2,1)=6)

It is then simple to either add the time to the result of this, to get a combined numeric date and time.
Or, if you want a text string, use the TEXT function to give you a text version of the date, and concatenate that with a text version of the time.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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