Hi All,
Am wondering if someone can help me with a formula.
My data is more in columns than rows, so for example
Count1 Count 2 Count 3 Count4 Sum count
X 5 3 1
Name1 5 5 2 0 sum name1
Name2 a a 1 1 sum name 2
What I need to say in simple terms:
If there is an X in count column - sum all the counts EXCEPT the x - this obviously is a standard sumif statement
If there is an A in the name row - sum all the name EXCEPT where there is an a
If there is a X in a count column - regardless of what is in the name - do not add to my sum name total
So using this
My total for Count Columns should be 8
Total for name 1 should be 7 (the other 5 in the same column does not get included because it has an X)
Total for name 2 should be 2
My end result is to calculate percentages,
so for name 1 I would have 7 / 8 to get a mark
Name 2 I would have 2/4 to get a mark
Is anyone able to put this into a formula - I have tried many variations, and somehow I cant get the totals to work and need it to be done in cells.
Thank you
Am wondering if someone can help me with a formula.
My data is more in columns than rows, so for example
Count1 Count 2 Count 3 Count4 Sum count
X 5 3 1
Name1 5 5 2 0 sum name1
Name2 a a 1 1 sum name 2
What I need to say in simple terms:
If there is an X in count column - sum all the counts EXCEPT the x - this obviously is a standard sumif statement
If there is an A in the name row - sum all the name EXCEPT where there is an a
If there is a X in a count column - regardless of what is in the name - do not add to my sum name total
So using this
My total for Count Columns should be 8
Total for name 1 should be 7 (the other 5 in the same column does not get included because it has an X)
Total for name 2 should be 2
My end result is to calculate percentages,
so for name 1 I would have 7 / 8 to get a mark
Name 2 I would have 2/4 to get a mark
Is anyone able to put this into a formula - I have tried many variations, and somehow I cant get the totals to work and need it to be done in cells.
Thank you