Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'd like to have a macro that will compute the average of the non-blank
elements in a column. Should I use a formula or a function for the calculating part? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Have you tried entering, for example:
2, blank, 3, blank, 4, blank in A1:A4 and using the formula =AVERAGE(A1:A4) ? If you try this you will find that AVERAGE ignores blanks Note we have a formula - it begins with = But our formula incorporates a function - AVERAGE best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "grok" wrote in message ... I'd like to have a macro that will compute the average of the non-blank elements in a column. Should I use a formula or a function for the calculating part? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
?IF function for preventing a cell being filled by formula | Excel Worksheet Functions | |||
Last Saved Date Formula / Function | Excel Discussion (Misc queries) | |||
numerical integration | Excel Discussion (Misc queries) | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |