Match Formula

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
388
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

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
that returns the date an not the location but thank u
 
Upvote 0

Forum statistics

Threads
1,215,444
Messages
6,124,891
Members
449,194
Latest member
JayEggleton

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