Help with VLookup and dates

brooksc29

Active Member
Joined
Jul 25, 2010
Messages
333
I'm trying to get this highlighted cell
date.jpg


to lookup the data matching in this column

b-1.jpg


and if the date falls between these dates in this table, return the Text to the right of where it falls between

a.jpg


this is the formula I am using, but it's not working

=INDEX((TextRange, SUMPRODUCT((VALUE(LEFT(DateDateRange, FIND(":", DateDateRange)-1))<datetolookup)*(value(right(datedaterange, len(datedaterange)-find(="" :="" ,="" datedaterange)))="">DateToLookup)*(ROW(TextRange)-ROW($c$2))),0)

please help!</datetolookup)*(value(right(datedaterange,>
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

brooksc29

Active Member
Joined
Jul 25, 2010
Messages
333
I changed the formula to a VLookup instead of DateToLookup and still not working...
INDEX((TextRange, SUMPRODUCT((VALUE(LEFT(DateDateRange, FIND(":", DateDateRange)-1))<VLOOKUP(B6, PITCHERSplatSTATS, 11, FALSE)*(VALUE(RIGHT(DateDateRange, LEN(DateDateRange)-FIND(":", DateDateRange)))>VLOOKUP(B6, PITCHERSplatSTATS, 11, FALSE)*(ROW(TextRange)-ROW($c$2))),0)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,571
Messages
5,832,566
Members
430,142
Latest member
ivonsurf123

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
Top