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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
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)
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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