Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I need help with this formula.
A B C 1 ACTIVE 11.78% ______ AVERAGE 2 ACTIVE 12.88% 3 ACTIVE 11.88% 4 INACTIVE 27.99% 5 INACTIVE 49.78% 6 ACTIVE 55.89% If I want to calculate the average in cell C1 of all the cells in B1:B6 that read ACTIVE in cells A1:A6. how should the formula read? |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]() "Excel for Dummies" wrote in message ... I need help with this formula. A B C 1 ACTIVE 11.78% ______ AVERAGE 2 ACTIVE 12.88% 3 ACTIVE 11.88% 4 INACTIVE 27.99% 5 INACTIVE 49.78% 6 ACTIVE 55.89% If I want to calculate the average in cell C1 of all the cells in B1:B6 that read ACTIVE in cells A1:A6. how should the formula read? This may not be the most elegant of solutions - but it works. Formula in C1 would be =SUMIF(A1:A6,"ACTIVE",B1:B6)/COUNTIF(A1:A6,"ACTIVE") You should also ensure that cell C1 is formatted as % (percentage), and that the required number of decimal places are displayed. Hope this is of some help. Gerry |
#3
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
You could use
=AVERAGE(IF(A1:A6="Active",B1:B6)) confirmed with CTRL+SHIFT+ENTER "Gerry Atrick" wrote: "Excel for Dummies" wrote in message ... I need help with this formula. A B C 1 ACTIVE 11.78% ______ AVERAGE 2 ACTIVE 12.88% 3 ACTIVE 11.88% 4 INACTIVE 27.99% 5 INACTIVE 49.78% 6 ACTIVE 55.89% If I want to calculate the average in cell C1 of all the cells in B1:B6 that read ACTIVE in cells A1:A6. how should the formula read? This may not be the most elegant of solutions - but it works. Formula in C1 would be =SUMIF(A1:A6,"ACTIVE",B1:B6)/COUNTIF(A1:A6,"ACTIVE") You should also ensure that cell C1 is formatted as % (percentage), and that the required number of decimal places are displayed. Hope this is of some help. Gerry |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reusing formula | Excel Discussion (Misc queries) | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |