Link to home
Start Free TrialLog in
Avatar of Curtis Long
Curtis LongFlag for United States of America

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.
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

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
Avatar of PowerEdgeTech
PowerEdgeTech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Curtis Long

ASKER

Thank you!!

Perfect!!  :-)