Curtis Long
asked on
excel 2007 help
Is there a way to average a cell if the cell above it has a crertain value??
So if row b1 through b5 has percentages in it I want to add the cell and then give an average if in the row above the data has an S in it.
A1 = S A2 = B A3 = S A4 = S A5 = B
B1 = 2 B2 = 2 B3 = 7 B4 =9 B5 = 6
Add B1+B3+B5 then average them. Total would change as the values in A change.
So if row b1 through b5 has percentages in it I want to add the cell and then give an average if in the row above the data has an S in it.
A1 = S A2 = B A3 = S A4 = S A5 = B
B1 = 2 B2 = 2 B3 = 7 B4 =9 B5 = 6
Add B1+B3+B5 then average them. Total would change as the values in A change.
Something is not clear here. Why did you select B1, B3 and B5? They dont have an S in their row, nor in the row above for all.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!!
Perfect!! :-)
Perfect!! :-)