Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
if Formula 2 scenario
Friend, the case is like this :
A1 b1 Result (C1) 20 a 100 40 - 0 20 - 0 40 b 200 i want if b1 got any value, the the result depends on A1 - if 20 it will result 100, otherwise results 200. if b1 got no value then automatically c1 will be 0 and ignoring any value in a1. pls help with formula that i should use. thanks a lot |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
if Formula 2 scenario
=IF(B1="",0,IF(A1=20,100,200))
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "ShamsulZ" wrote in message ... Friend, the case is like this : A1 b1 Result (C1) 20 a 100 40 - 0 20 - 0 40 b 200 i want if b1 got any value, the the result depends on A1 - if 20 it will result 100, otherwise results 200. if b1 got no value then automatically c1 will be 0 and ignoring any value in a1. pls help with formula that i should use. thanks a lot |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
if Formula 2 scenario
=IF(ISBLANK(B1),0,IF(A1=20,100,200))
but be careful! A dash (-) in B IS a value! If you want to mark the NO VALUE case with dashes, then the formula is =IF(B1="-",0,IF(A1=20,100,200)) Regards, Stefi €˛ShamsulZ€¯ ezt Ć*rta: Friend, the case is like this : A1 b1 Result (C1) 20 a 100 40 - 0 20 - 0 40 b 200 i want if b1 got any value, the the result depends on A1 - if 20 it will result 100, otherwise results 200. if b1 got no value then automatically c1 will be 0 and ignoring any value in a1. pls help with formula that i should use. thanks a lot |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel formula for an "if" "then" scenario linking 3 worksheets | Excel Discussion (Misc queries) | |||
Multiple Scenario Condition Formula | Excel Worksheet Functions | |||
Scenario in formula | Excel Worksheet Functions | |||
need a formula for this scenario | Excel Worksheet Functions | |||
Is it possible to have a formula for the following scenario please | Excel Worksheet Functions |