Hi, I want to do sum-up for the 2nd row with cells: A2, B2, C2, D2, E2, F2, G2, H2, based on the value of cell J2:
If J1="Odd", then sum up A2, C2, E2 and G2
If J1="Even", then sum up B2, D2, F2, and H2.
How can I make this with a formula?
If I want to do sum-up for column B with cells: B11, B12, B13, B14, B15, B16, B17, B18:
If J1="Odd", then sum up B11, B13, B15, B17
If J1="Even", then sum up B12, B14, B16, B18
How can I do this?
The example is attached here. Thanks for your help.
Bookmarks