Match Formula

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
391
Office Version
  1. 365
Platform
  1. Windows
im using this formula to match dates but its not matching exactly its out by a few days

=IFERROR("A "&MATCH(B4,'Shirt Database'!$G$2:$G$60000,0),"")

b4 is the date im trying to match in 'Shirt Database'!$G$2:$G$60000 but as i say its not doing so its out by few days example b4 could be any date so im gonna use 04/05/91 but it returns 24/3/91 as i say it is only out by few days
 
Well, now that the MATCH part is correct, you can plug that back into your original formula.
But MATCH does NOT return the VALUE in the cell - only the POSITION of the cell in your search range.
If you want the data value contained in the cell, you can use INDIRECT:
=INDIRECT("'Shirt Database'!$G"&(MATCH(B4,'Shirt Database'!$G$2:$G$60000,0)+1))
 
Upvote 0

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,224,830
Messages
6,181,227
Members
453,025
Latest member
Hannah_Pham93

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