Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Several Formulas
I want to add up a row and average that row but some cells will not have data
and I want a true average. And if this is a continue spreadsheet I only want to look back 7 days. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Several Formulas
Average ignores empty cells, so you can just use that.
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "LostNFound" wrote in message ... I want to add up a row and average that row but some cells will not have data and I want a true average. And if this is a continue spreadsheet I only want to look back 7 days. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Several Formulas
I want to add up a row and average that row but some cells will not
have data and I want a true average. If it’s row 1, maybe this’ll help: =SUM(1:1) =AVERAGE(1:1) The AVERAGE function ignores cells that are empty or have text in them. And if this is a continue spreadsheet I only want to look back 7 days. Assuming each cell is for one day, put this in G2 and extend it to the right: =SUM(A1:G1) Then put this in G3 and extend it to the right: =IF(COUNT(A1:G1)=0,"",AVERAGE(A1:G1)) (The "COUNT" test helps if all seven look-back days have no data.) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP | Excel Worksheet Functions | |||
lookup formulas dependent upon lookup formulas | Excel Worksheet Functions | |||
automatically copy formulas down columns or copy formulas all the | Excel Worksheet Functions | |||
Formulas not evaluated, Formulas treated as strings | Excel Discussion (Misc queries) | |||
formulas for changing formulas? | Excel Discussion (Misc queries) |