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
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: