MATCH VLOOKUP

Pippy79

Board Regular
Joined
Nov 18, 2021
Messages
68
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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Gerald Higgins

Well-known Member
Joined
Mar 26, 2007
Messages
9,258
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.
 
Solution

Forum statistics

Threads
1,181,427
Messages
5,929,827
Members
436,697
Latest member
sunnypl

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
Top