If Formula Question

G

Guest

Trying to put this into Excel.

If D is not empty, use D. If C-B is greater than 4 or negative, and C or B
is less than 10, then 0. Other wise ROUNDDOWN(MEDIAN($B1:$C1);1).

Thank you in advance.
 
B

Bob Phillips

=IF(D1<>"";D1;IF(OR(C1-B1>4,C1-B1<10);0;ROUNDDOWN(MEDIAN($B1:$C1);1)))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 
S

SteveG

=IF(D1<>"",D1,IF(AND(OR(C1-B1<0,C1-B1>4),OR(C1<10,B1<10)),0,ROUNDDOWN(MEDIAN(B1:C1),1)))

Does that help?

Steve
 

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

Top