MATCH is off by 13

Jar888

Board Regular
Joined
Jan 15, 2022
Messages
61
Office Version
  1. 2016
Platform
  1. Windows
For some reason my MATCH from sheet to sheet is off by 13 and I just can't work out why. See below example and also a snip of the two sheets showing the data it's pulling from 13 days prior to the MATCH date. Any help would be greatly appreciated ?

Cell Formulas
RangeFormula
C2C2=Sheet1!F1-13
D2:V2D2=C2+1
C3C3=IFERROR(INDEX('[EMPLOYEE ROSTER.xlsx]ROSTER'!$N$5:$AWG$250,MATCH($A3,'[EMPLOYEE ROSTER.xlsx]ROSTER'!$E$5:$E$250,0),MATCH(C$2,'[EMPLOYEE ROSTER.xlsx]ROSTER'!$3:$3,0)),"0")
C4:V8,D3:V3D3=IFERROR(INDEX('[EMPLOYEE ROSTER.xlsx]ROSTER'!$N$5:$AWG$250,MATCH($A3,'[EMPLOYEE ROSTER.xlsx]ROSTER'!$E$5:$E$250,0),MATCH(D$2,'[EMPLOYEE ROSTER.xlsx]ROSTER'!$3:$3,0)),"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:AR300Expression=A1="AL"textNO
C2:AZ2Expression=C$1="Mon"textNO



1652335806778.png
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Just a very quick observation (it's hard to see for sure, because of links to other sheets, and pictures rather than XL2BB) ...

There's a 13 column mismatch between: ROSTER'!$3:$3 and ROSTER'!$N$5:$AWG$250.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,136
Messages
6,123,251
Members
449,093
Latest member
Vincent Khandagale

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