Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
BB BB is offline
external usenet poster
 
Posts: 39
Default Formula Error

Hi,
I have a spreadsheet, one sheet per month (ie November, December etc), which
has this formula to calculate the daily average of sales (column P, and
column U is for account sales, of which there may be not be any for the
month), AVERAGE(IF(P10:P700,(P10:P70)+(U10:U70))) CTRL+SHIFT+ENTER. This is
in cell F72, one row per day, and the 0 part of the formula is there so that
future days are not calculated.

I have a summary page for this current financial year, and each month
contains this formula in cells B6,B8,B10 - B28: ='NOVEMBER 07'!F72 (as per
it's month), however, in Dec 07 - June 08 the cells return the DIV/0 error
message. Then, what i'm tying to do is enter a formula in cell B34 that
gives a daily average over the 12 months(or at this stage, would like to see
the daily avg to date), but this formula =AVERAGE(IF(B6:B280,B6:B28)) gives
the DIV/0 error message, as December 07 - June 08 not yet entered. Can this
be actually work???

Thank you,

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Formula Error

Try this array formula:

=AVERAGE(IF(ISNUMBER(B6:B28),IF(B6:B280,B6:B28)))

--
Biff
Microsoft Excel MVP


"BB" wrote in message
...
Hi,
I have a spreadsheet, one sheet per month (ie November, December etc),
which
has this formula to calculate the daily average of sales (column P, and
column U is for account sales, of which there may be not be any for the
month), AVERAGE(IF(P10:P700,(P10:P70)+(U10:U70))) CTRL+SHIFT+ENTER. This
is
in cell F72, one row per day, and the 0 part of the formula is there so
that
future days are not calculated.

I have a summary page for this current financial year, and each month
contains this formula in cells B6,B8,B10 - B28: ='NOVEMBER 07'!F72 (as per
it's month), however, in Dec 07 - June 08 the cells return the DIV/0 error
message. Then, what i'm tying to do is enter a formula in cell B34 that
gives a daily average over the 12 months(or at this stage, would like to
see
the daily avg to date), but this formula =AVERAGE(IF(B6:B280,B6:B28))
gives
the DIV/0 error message, as December 07 - June 08 not yet entered. Can
this
be actually work???

Thank you,



  #3   Report Post  
Posted to microsoft.public.excel.newusers
BB BB is offline
external usenet poster
 
Posts: 39
Default Formula Error

Biff, you are a legend! Thank you, you have brought an end to my frustration.

"T. Valko" wrote:

Try this array formula:

=AVERAGE(IF(ISNUMBER(B6:B28),IF(B6:B280,B6:B28)))

--
Biff
Microsoft Excel MVP


"BB" wrote in message
...
Hi,
I have a spreadsheet, one sheet per month (ie November, December etc),
which
has this formula to calculate the daily average of sales (column P, and
column U is for account sales, of which there may be not be any for the
month), AVERAGE(IF(P10:P700,(P10:P70)+(U10:U70))) CTRL+SHIFT+ENTER. This
is
in cell F72, one row per day, and the 0 part of the formula is there so
that
future days are not calculated.

I have a summary page for this current financial year, and each month
contains this formula in cells B6,B8,B10 - B28: ='NOVEMBER 07'!F72 (as per
it's month), however, in Dec 07 - June 08 the cells return the DIV/0 error
message. Then, what i'm tying to do is enter a formula in cell B34 that
gives a daily average over the 12 months(or at this stage, would like to
see
the daily avg to date), but this formula =AVERAGE(IF(B6:B280,B6:B28))
gives
the DIV/0 error message, as December 07 - June 08 not yet entered. Can
this
be actually work???

Thank you,




  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Formula Error

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"BB" wrote in message
...
Biff, you are a legend! Thank you, you have brought an end to my
frustration.

"T. Valko" wrote:

Try this array formula:

=AVERAGE(IF(ISNUMBER(B6:B28),IF(B6:B280,B6:B28)))

--
Biff
Microsoft Excel MVP


"BB" wrote in message
...
Hi,
I have a spreadsheet, one sheet per month (ie November, December etc),
which
has this formula to calculate the daily average of sales (column P, and
column U is for account sales, of which there may be not be any for the
month), AVERAGE(IF(P10:P700,(P10:P70)+(U10:U70))) CTRL+SHIFT+ENTER.
This
is
in cell F72, one row per day, and the 0 part of the formula is there
so
that
future days are not calculated.

I have a summary page for this current financial year, and each month
contains this formula in cells B6,B8,B10 - B28: ='NOVEMBER 07'!F72 (as
per
it's month), however, in Dec 07 - June 08 the cells return the DIV/0
error
message. Then, what i'm tying to do is enter a formula in cell B34
that
gives a daily average over the 12 months(or at this stage, would like
to
see
the daily avg to date), but this formula =AVERAGE(IF(B6:B280,B6:B28))
gives
the DIV/0 error message, as December 07 - June 08 not yet entered. Can
this
be actually work???

Thank you,






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula #Value error Hanr3 Excel Discussion (Misc queries) 4 December 11th 06 11:16 PM
Error in Formula LaniG Excel Discussion (Misc queries) 2 May 29th 06 09:54 PM
How do I replace "#N/A" error, to continue my formula w/o error? Ali Khan Excel Worksheet Functions 2 February 20th 06 03:49 PM
formula error ladyhawk Excel Discussion (Misc queries) 6 January 25th 06 09:20 PM
Formula error Chris Excel Worksheet Functions 0 November 17th 04 05:08 PM


All times are GMT +1. The time now is 09:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"