![]() |
=If Function
I am trying to create a formula that will do the following:-
If "A"="B" If True = "D"*.2+20 If False = "D"*.1+20 However, taking the false arguement I only want this to work if "D" is than 0. How do I input this? |
=If Function
Calum, This should work. A1 =A, B1=B and A4=D. =IF(A1=B1,SUM(A4*0.2+20),IF(AND(A1<B1,A40),SUM(A 4*0.1+20),"")) Cheers, Steve -- SteveG ------------------------------------------------------------------------ SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571 View this thread: http://www.excelforum.com/showthread...hreadid=490132 |
=If Function
"Calum" wrote:
If "A"="B" If True = "D"*.2+20 If False = "D"*.1+20 However, taking the false arguement I only want this to work if "D" is than 0. How do I input this? You don't say want you if A<B and D<=0. I assume you want simply D. =IF(A1=B1, 0.2*D1+20, IF(D10, 0.1*D1+20, D1)) |
All times are GMT +1. The time now is 05:08 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com