formula help please

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have this formula thta looks at cells A8:A427 for a date which is the same
as that in cell D1, and then sums all the coresponding cells from cells
S8:S247.
What I want is NOT the total sum of these cells in S8:S247 but the AVERAGE.

My formula I am using is

=AVERAGE(SUMIF(Stats!A8:A427,--TEXT(D1,"MYYYY"),Stats!R8:R427))

Can anybody explain where I am going wrong and/or suggest a new formula
many thanks
 
Paul
thanks for your reply, but bit new to this and don't understand where to
place your suggested formula, can you poss write if full
thanks
 
Try

=AVERAGE(IF(Stats!A8:A427=--TEXT(D1,"MYYYY"),Stats!R8:R427))

this is an array formula, so commit with Ctrl-Shift-Enter

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

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

Similar Threads

Formula Help - please 3
SUMIF with criteria "<>" & "=" 4
Search for Text within a Formula Result Q 5
IF clause for a range of cells 3
sumif 1
Excel Sumproduct 0
"IF" help 2
Sum between a range of dates 3

Back
Top