INDEX MATCH or VLOOKUP - Confused.

mohdabrar

New Member
Joined
Aug 4, 2015
Messages
40
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi,

So, I have the data in the below format. The dates horizontally repeat 4 times and I need to get the week no. from the reference table which is in column V to Y. I think the amount of data shared should be enough to understand. It's a 4 week rotation, Week Starting from Monday to Sunday. I need to look up the date and get the week no from the reference table from columns V to Y in A2. Any help is appreciated. Thanks!

Book1
ABCDEFGHIJKLMNOPQRSTUVWXY
101/02/202201/02/202201/02/202201/02/202202/02/202202/02/202202/02/202202/02/202203/02/202203/02/202203/02/202203/02/202204/02/202204/02/202204/02/202204/02/202205/02/202205/02/202205/02/202205/02/2022DateDayMonthRotation Week
201/02/2022TueFebruaryWeek 1
302/02/2022WedFebruaryWeek 1
403/02/2022ThuFebruaryWeek 1
504/02/2022FriFebruaryWeek 1
605/02/2022SatFebruaryWeek 1
Sheet1
Cell Formulas
RangeFormula
W2:W6W2=TEXT(V2,"DDD")
X2:X6X2=TEXT(V2,"MMMM")
V3:V6V3=V2+1
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I mean copy paste A2 to T2.
What your outcome look like? type it manually and post it again.
 
Upvote 0

Forum statistics

Threads
1,224,581
Messages
6,179,668
Members
452,936
Latest member
anamikabhargaw

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