Forum Discussion
robertc3
Sep 17, 2021Copper Contributor
Sum cells if data is present in other cells
I am creating a sheet that has 96 columns (for months of a project) and I need to sum certain cells if there are values in the columns. Each month an amount will be typed into one of the cells in one...
- Sep 17, 2021
In CY2:
=INDEX(B2:CS2,MATCH(9.99999999999999E+307,B2:S2))
or
=LOOKUP(9.99999999999999E+307,B2:CS2)
In CX2:
=SUM(B2:CS2)-CY2
HansVogelaar
Sep 17, 2021MVP
In CY2:
=INDEX(B2:CS2,MATCH(9.99999999999999E+307,B2:S2))
or
=LOOKUP(9.99999999999999E+307,B2:CS2)
In CX2:
=SUM(B2:CS2)-CY2
robertc3
Sep 17, 2021Copper Contributor
Thank you very much! This is perfect.