Conditional Average

  • Thread starter Thread starter Kstalker
  • Start date Start date
K

Kstalker

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
 
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
 
Almost there

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

entered with ctrl + shift & enter


--
Regards,

Peo Sjoblom

(No private emails please)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top