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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
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,215,235
Messages
6,123,782
Members
449,123
Latest member
StorageQueen24

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