Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ignore zero in column for subtotal
I am averaging a list of statistics for 75 people using
SUBTOTAL(1,D5:D59) These stats come from another sheet, so I am using =IF(ISERR('MAY INDIVIDUAL'!I47),0,'MAY INDIVIDUAL'!I47) to pull the numbers from sheet "MAY INDIVIDUAL" and, if there is no stat (such would show up as a #DIV/0 error) it will change the error to a zero so the average will compute without an error. Now, of course, I have the problem of averaging a lot of zero's into the total, bringing the average down. How can I make the subtotal ignore the zero's and only average those numbers greater than zero? I cannot do a filter because it is a progressive worksheet that included data from several different sheets, all or one of which may input zero's in subsequent columns. Thanks. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ignore zero in column for subtotal
Instead of returning a zero if there is an error, try returning
"" (i.e. blank cell) and see if that corrects your averaging. Hope this helps. Pete On Aug 1, 2:28 pm, michaelberrier wrote: I am averaging a list of statistics for 75 people using SUBTOTAL(1,D5:D59) These stats come from another sheet, so I am using =IF(ISERR('MAY INDIVIDUAL'!I47),0,'MAY INDIVIDUAL'!I47) to pull the numbers from sheet "MAY INDIVIDUAL" and, if there is no stat (such would show up as a #DIV/0 error) it will change the error to a zero so the average will compute without an error. Now, of course, I have the problem of averaging a lot of zero's into the total, bringing the average down. How can I make the subtotal ignore the zero's and only average those numbers greater than zero? I cannot do a filter because it is a progressive worksheet that included data from several different sheets, all or one of which may input zero's in subsequent columns. Thanks. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ignore zero in column for subtotal
On Aug 1, 9:40 am, Pete_UK wrote:
Instead of returning a zero if there is an error, try returning "" (i.e. blank cell) and see if that corrects your averaging. Hope this helps. Pete On Aug 1, 2:28 pm, michaelberrier wrote: I am averaging a list of statistics for 75 people using SUBTOTAL(1,D5:D59) These stats come from another sheet, so I am using =IF(ISERR('MAY INDIVIDUAL'!I47),0,'MAY INDIVIDUAL'!I47) to pull the numbers from sheet "MAY INDIVIDUAL" and, if there is no stat (such would show up as a #DIV/0 error) it will change the error to a zero so the average will compute without an error. Now, of course, I have the problem of averaging a lot of zero's into the total, bringing the average down. How can I make the subtotal ignore the zero's and only average those numbers greater than zero? I cannot do a filter because it is a progressive worksheet that included data from several different sheets, all or one of which may input zero's in subsequent columns. Thanks. Perfect. Imagine that, the one thing I didn't try. Thanks a lot! |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Ignore zero in column for subtotal
You're welcome, Michael - thanks for feeding back.
Pete On Aug 1, 2:50 pm, michaelberrier wrote: On Aug 1, 9:40 am, Pete_UK wrote: Instead of returning a zero if there is an error, try returning "" (i.e. blank cell) and see if that corrects your averaging. Hope this helps. Pete On Aug 1, 2:28 pm, michaelberrier wrote: I am averaging a list of statistics for 75 people using SUBTOTAL(1,D5:D59) These stats come from another sheet, so I am using =IF(ISERR('MAY INDIVIDUAL'!I47),0,'MAY INDIVIDUAL'!I47) to pull the numbers from sheet "MAY INDIVIDUAL" and, if there is no stat (such would show up as a #DIV/0 error) it will change the error to a zero so the average will compute without an error. Now, of course, I have the problem of averaging a lot of zero's into the total, bringing the average down. How can I make the subtotal ignore the zero's and only average those numbers greater than zero? I cannot do a filter because it is a progressive worksheet that included data from several different sheets, all or one of which may input zero's in subsequent columns. Thanks. Perfect. Imagine that, the one thing I didn't try. Thanks a lot!- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how can I ignore or hide the #N/A when doing a sum or subtotal? | Excel Worksheet Functions | |||
How can I total just the numbers in a column and ignore non-numeric strings? | Excel Worksheet Functions | |||
Can I ignore numbers and sort only text in an Excel column? | Excel Discussion (Misc queries) | |||
Formula to ignore negative numbers in a column? | Excel Worksheet Functions | |||
can I put total value from subtotal into next column | Excel Discussion (Misc queries) |