DIV/O

J

John Bruel

I tried you formula, but I get DIV/O.

Note that my dates are in DATE format, not text. In your
formula, am I suppose to replace the TEXT and ddd by
somthing else?

John
 
H

Harlan Grove

John Bruel said:
I tried you formula, but I get DIV/O.

Note that my dates are in DATE format, not text. In your
formula, am I suppose to replace the TEXT and ddd by
somthing else?

Who the @#$% are you responding to? Respond to the responses to your
original question in the *SAME* thread. Don't start new ones.
 
F

Frank Kabel

Hi Joel
I definetly agree with Harlan to stay in the existing thread. But you
probably meant Bob's formula:
=SUMPRODUCT((TEXT(A1:A11,"ddd")="Mon")*B1:B11)/SUMPRODUCT(--(TEXT(A1:A1
1,"ddd")="Mon"))

This should work but you may try the following solution form Harlan and
me (note: use Harlan's solution -> shortest and probably fastest way):

--------
=SUMPRODUCT(--(WEEKDAY(A1:A11)=2),B1:B11)/SUMPRODUCT(--(WEEKDAY(A1:A11)
=2))

Harlan's solution: Array formula to be entered with CTRL+SHIFT+ENTER)
=AVERAGE(IF(WEEKDAY(A1:A11)=2,B1:B11))
 

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


Top