ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If Formula Question (https://www.excelbanter.com/excel-worksheet-functions/70436-if-formula-question.html)

carl

If Formula Question
 
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.

Bob Phillips

If Formula Question
 
=IF(D1<"";D1;IF(OR(C1-B14,C1-B1<10);0;ROUNDDOWN(MEDIAN($B1:$C1);1)))

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"carl" wrote in message
...
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.




SteveG

If Formula Question
 

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

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=510229



All times are GMT +1. The time now is 05:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com