Hi,
Trying to create a list of products in which each product has a value greater than zero for a particular column (Date).
Table:
A B C D
Results should be for 3/1/2023:
A B
I tried the following array formula:
={INDEX($A$2:$A$6,MATCH(1,($C$2:$C$6>0)*(COUNTIF(A$7:A7,$A$2:$A$6)=0),0))}
While this works, I need the flexibility of changing the date and have the formula choose the matching column rather than the hard entered portion $C$2:$C$6.
I tried inserting a column lookup as follows but it did not work:
={INDEX($A$2:$A$6,MATCH(1,MATCH($B$8,$B$1:$D$1))>0)*(COUNTIF(A$7:A7,$A$2:$A$6)=0)}
Where B8 has the date.
I have Excel 2019.
Thank you.
Trying to create a list of products in which each product has a value greater than zero for a particular column (Date).
Table:
A B C D
1 | Product | 2/1/2023 | 3/1/2023 | 4/1/2023 |
2 | AU1387001 | 7.0 | 10.0 | 8.0 |
3 | AUE-101 | 0.9 | 5.0 | 1.0 |
4 | CGC112 | | | |
5 | CPC-SP41 | 330.0 | 330.0 | 660.0 |
6 | CPC-SP47 | 330.0 | | 220.0 |
Results should be for 3/1/2023:
A B
8 | AU1387001 | 3/1/2023 |
9 | AUE-101 | |
10 | CPC-SP41 |
I tried the following array formula:
={INDEX($A$2:$A$6,MATCH(1,($C$2:$C$6>0)*(COUNTIF(A$7:A7,$A$2:$A$6)=0),0))}
While this works, I need the flexibility of changing the date and have the formula choose the matching column rather than the hard entered portion $C$2:$C$6.
I tried inserting a column lookup as follows but it did not work:
={INDEX($A$2:$A$6,MATCH(1,MATCH($B$8,$B$1:$D$1))>0)*(COUNTIF(A$7:A7,$A$2:$A$6)=0)}
Where B8 has the date.
I have Excel 2019.
Thank you.