#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default S.O.S.....

Here's one way.

Try this array formula** :

=AVERAGE(IF(TEXT(A2:A20,"mmmyyyy")="Jun2007",IF(D2 :D200,D2:D20)))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Biff

"Sarah" wrote in message
...
Hello,
I have a spreadsheet set up with column A for the date (one day per row),
and column D as the total daily takings. I want a formula that changes
automatically when I enter each new daily amount, and if I enter a daily
taking of $0, I don't want excel to include that day in the month's
average.
So I want it to regognise that the $0 day is not to be included, and only
divide by say 29 days instead of 30 for June. Hope I've made sense...??
Thank you in anticipation.
--
Regards,
Sarah



  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 231
Default S.O.S.....

Thanks very much for your help!!! Much appreciated.
--
Regards,
Sarah


"T. Valko" wrote:

Here's one way.

Try this array formula** :

=AVERAGE(IF(TEXT(A2:A20,"mmmyyyy")="Jun2007",IF(D2 :D200,D2:D20)))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Biff

"Sarah" wrote in message
...
Hello,
I have a spreadsheet set up with column A for the date (one day per row),
and column D as the total daily takings. I want a formula that changes
automatically when I enter each new daily amount, and if I enter a daily
taking of $0, I don't want excel to include that day in the month's
average.
So I want it to regognise that the $0 day is not to be included, and only
divide by say 29 days instead of 30 for June. Hope I've made sense...??
Thank you in anticipation.
--
Regards,
Sarah




  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default S.O.S.....

You're welcome. Thanks for the feedback!

Biff

"Sarah" wrote in message
...
Thanks very much for your help!!! Much appreciated.
--
Regards,
Sarah


"T. Valko" wrote:

Here's one way.

Try this array formula** :

=AVERAGE(IF(TEXT(A2:A20,"mmmyyyy")="Jun2007",IF(D2 :D200,D2:D20)))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Biff

"Sarah" wrote in message
...
Hello,
I have a spreadsheet set up with column A for the date (one day per
row),
and column D as the total daily takings. I want a formula that changes
automatically when I enter each new daily amount, and if I enter a
daily
taking of $0, I don't want excel to include that day in the month's
average.
So I want it to regognise that the $0 day is not to be included, and
only
divide by say 29 days instead of 30 for June. Hope I've made
sense...??
Thank you in anticipation.
--
Regards,
Sarah






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



All times are GMT +1. The time now is 01:52 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"