Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kstalker
 
Posts: n/a
Default Conditional Average


Hello again.

Yet another problem in my world of elaborate worksheets.

I need to calculate the MTD average based on todays date.

Have mdae several attempts but clearly do not quite have the skill.


=AVERAGE(IF(N$2:AR$2,"<" & TODAY(),N194:AR194))


Regards

Kristan


--
Kstalker
------------------------------------------------------------------------
Kstalker's Profile: http://www.excelforum.com/member.php...o&userid=24699
View this thread: http://www.excelforum.com/showthread...hreadid=397630

  #2   Report Post  
Biff
 
Posts: n/a
Default

You're very close:

Array entered:

=AVERAGE(IF(N$2:AR$2,<TODAY(),N194:AR194))

Are you sure you want to EXCLUDE today's date?

To INCLUDE today's date:

=AVERAGE(IF(N$2:AR$2,<=TODAY(),N194:AR194))

Biff

"Kstalker" wrote in
message ...

Hello again.

Yet another problem in my world of elaborate worksheets.

I need to calculate the MTD average based on todays date.

Have mdae several attempts but clearly do not quite have the skill.


=AVERAGE(IF(N$2:AR$2,"<" & TODAY(),N194:AR194))


Regards

Kristan


--
Kstalker
------------------------------------------------------------------------
Kstalker's Profile:
http://www.excelforum.com/member.php...o&userid=24699
View this thread: http://www.excelforum.com/showthread...hreadid=397630



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Almost there

=AVERAGE(IF(N$2:AR$2<TODAY(),N194:AR194))

entered with ctrl + shift & enter


--
Regards,

Peo Sjoblom

(No private emails please)


"Kstalker" wrote in
message ...

Hello again.

Yet another problem in my world of elaborate worksheets.

I need to calculate the MTD average based on todays date.

Have mdae several attempts but clearly do not quite have the skill.


=AVERAGE(IF(N$2:AR$2,"<" & TODAY(),N194:AR194))


Regards

Kristan


--
Kstalker
------------------------------------------------------------------------
Kstalker's Profile:
http://www.excelforum.com/member.php...o&userid=24699
View this thread: http://www.excelforum.com/showthread...hreadid=397630


  #4   Report Post  
Kstalker
 
Posts: n/a
Default


Excellent.

Cheers Biff, works a treat.

Regards

Kristan


--
Kstalker
------------------------------------------------------------------------
Kstalker's Profile: http://www.excelforum.com/member.php...o&userid=24699
View this thread: http://www.excelforum.com/showthread...hreadid=397630

  #5   Report Post  
Clearwater14
 
Posts: n/a
Default


How do I start a new thread? I am a newbie here. tx


--
Clearwater14
------------------------------------------------------------------------
Clearwater14's Profile: http://www.excelforum.com/member.php...o&userid=26496
View this thread: http://www.excelforum.com/showthread...hreadid=397630

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
Conditional average function Andres Excel Worksheet Functions 1 August 9th 05 06:31 PM
plotted Average Micayla Bergen Charts and Charting in Excel 4 July 15th 05 12:13 PM
What is this kind of average called? havocdragon Excel Worksheet Functions 3 June 24th 05 05:10 PM
Conditional Average Ignoring Blanks Dirk Friedrichs via OfficeKB.com Excel Worksheet Functions 2 May 6th 05 03:49 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


All times are GMT +1. The time now is 05:11 AM.

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

About Us

"It's about Microsoft Excel"