tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,924
- Office Version
- 365
- 2019
- Platform
- Windows
Here is my data:
In cell G1, I type:
and enter it as an ARRAY formula.
I expected the result to be 1 but instead it returned #N/A.
What is wrong?
What I am trying to match is the condition a in Column E and if the date is less than or equal to 3 workdays after the date in Column D.
Thanks
EDIT SORTED:
Should be:
Rich (BB code):
Col A Col B Col D Col E
[TABLE="width: 342"]
<tbody>[TR]
[TD="align: right"]01/01/2010[/TD]
[TD]a[/TD]
[TD][/TD]
[TD="align: right"]31/12/2009[/TD]
[TD] a[/TD]
[/TR]
[TR]
[TD="align: right"]02/01/2010[/TD]
[TD]b[/TD]
[TD][/TD]
[TD="align: right"]01/01/2010[/TD]
[TD] b[/TD]
[/TR]
[TR]
[TD="align: right"]03/01/2010[/TD]
[TD]c[/TD]
[TD][/TD]
[TD="align: right"]02/01/2010[/TD]
[TD] c[/TD]
[/TR]
[TR]
[TD="align: right"]04/01/2010[/TD]
[TD] d[/TD]
[TD][/TD]
[TD="align: right"]03/01/2010[/TD]
[TD] d[/TD]
[/TR]
</tbody>[/TABLE]
In cell G1, I type:
Rich (BB code):
=MATCH(1,(B1=E1:E4)*(A1<=WORKDAY(D1:D4,3)),0)
and enter it as an ARRAY formula.
I expected the result to be 1 but instead it returned #N/A.
What is wrong?
What I am trying to match is the condition a in Column E and if the date is less than or equal to 3 workdays after the date in Column D.
Thanks
EDIT SORTED:
Should be:
Rich (BB code):
=MATCH(1,(B1=E1:E4)*(A1<=WORKDAY(D1:D4+0,3+0)),0)
Last edited: