Index/Match Formula

btadams

Well-known Member
Joined
Jan 6, 2003
Messages
1,943
Hello everybody,

I'm trying to put together an Index/Match formula. I have two tabs and both have a column with user id's. The second tab also has a ProposedStartDate column and DateClosed column. In the first tab I want a formula that will look up the user id and return 0 or 1 if that user has a ProposedStartDate or a DateClosed between 1/1/2018 and 12/31/2018.

I've tried the formulas below with no luck:

=INDEX(USERID,MATCH(1,(ProposedStartDate>=$C$1)*(ProposedStartDate<=$D$1)*(A2=USERID),0)) (ctrl+shift+enter)

=SUMPRODUCT((USERID=A2)*(ProposedStartDate>=$C$1)*(ProposedStartDate<=$D$1))

where 1/1/2018 and 12/31/2018 are in cells $C$1 and $D$1.

Thanks,

Brian
 
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)
Your SUMPRODUCT should work. Maybe check your named ranges.

Excel Workbook
ABCD
1UserID1/1/201812/31/2018
2ID21
3ID30
4ID41
5ID61
6ID150
sheet1
#VALUE!
</td></tr></table></td></tr></table>
Excel Workbook
ABC
1UserIDProposedStartDateDateClosed
2ID22/5/20184/6/2018
3ID312/12/20181/5/2019
4ID46/6/20187/4/2018
5ID152/14/20193/6/2019
6ID65/12/20189/10/2018
sheet2
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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