Index / match - multiple values

dunmore83

Well-known Member
Joined
Aug 24, 2011
Messages
540
Hi,

The following table is in worksheet 'Calvings-By-Cow'

GMPQTU
1323-May-14
2629-Sep-1409-Sep-1526-Aug-16
31812-Jan-1523-Sep-1621-Sep-17
42205-Apr-1509-Nov-1502-Nov-16

<tbody>
</tbody>









The following table is the worksheet I need a formula to go in column G

DGM
1230-May-1423-May-143
1330-Dec-1509-Sep-156
1430-Sep-1721-Sep-1718
1515-Dec-1509-Nov-1522

<tbody>
</tbody>









The formula in column G needs to 1st match the value in column M with the value in Column G in 'Calvings-By-Cow' & then it needs to return the date from column M in 'Calvings-By-Cow' if only 1 date is found in that row. If more than 2 dates are found in that row then it needs to return the value that is the 'closest less than date' in the row match in 'Calvings-By-Cow' to column D.

I have inserted the dates in column G that the formula needs to return.

Any helpers with this formula ??
 
Last edited:

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)
This is going to be very difficult and maybe not possible with native formulas if we cant use contiguous range refences to do the tests. Your tables seem split up the ranges you need to test.
 
Upvote 0
Thanks.

Would the formula be easier if the dates in 'Calvings-By-Cow' were all in one single column ? (rather than on separate rows)
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,376
Members
449,080
Latest member
Armadillos

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