Home 
Search 
Today's Posts 
#1




IF Statement with two variables
I've gone brain dead on this.
Here is my formula, what am I doing wrong? Thanks =IF(H12="Tier 1" & J12="Yes",(150*B12),"None") 
#2




IF Statement with two variables
RoadKill wrote:
I've gone brain dead on this. Here is my formula, what am I doing wrong? Thanks =IF(H12="Tier 1" & J12="Yes",(150*B12),"None") =IF(AND(H12="Tier 1",J12="Yes"),(150*B12),"None") 
#3




IF Statement with two variables
=IF(AND(H12="Tier 1",J12="Yes"),150*B12,"None")
Bob Umlas Excel MVP "RoadKill" wrote in message ... I've gone brain dead on this. Here is my formula, what am I doing wrong? Thanks =IF(H12="Tier 1" & J12="Yes",(150*B12),"None") 
#4




IF Statement with two variables
Hi
& is the concatenate symbol yo want AND =IF(AND(H12="Tier 1",J12="Yes"),(150*B12),"None") Mike "RoadKill" wrote: I've gone brain dead on this. Here is my formula, what am I doing wrong? Thanks =IF(H12="Tier 1" & J12="Yes",(150*B12),"None") 
#5




IF Statement with two variables
Or if you want to be fancy:
=IF(H12&J12="Tier 1Yes",150*B12,"None") "Glenn" wrote: RoadKill wrote: I've gone brain dead on this. Here is my formula, what am I doing wrong? Thanks =IF(H12="Tier 1" & J12="Yes",(150*B12),"None") =IF(AND(H12="Tier 1",J12="Yes"),(150*B12),"None") 
#6




IF Statement with two variables
Fancy is fine if having "T" in H12 and "ier 1Yes" in J12 or any other of the multiple other combinations is OK. I prefer evaluating the 2 conditions set out by the OP "Sean Timmons" wrote: Or if you want to be fancy: =IF(H12&J12="Tier 1Yes",150*B12,"None") "Glenn" wrote: RoadKill wrote: I've gone brain dead on this. Here is my formula, what am I doing wrong? Thanks =IF(H12="Tier 1" & J12="Yes",(150*B12),"None") =IF(AND(H12="Tier 1",J12="Yes"),(150*B12),"None") 
#7




IF Statement with two variables
Well, sure, though the likelihood of that error would be relatively low, it
also would allow for such things as matching full names where middle may be in one of two cells. Guess it all depends on the goal of the formula... "Mike H" wrote: Fancy is fine if having "T" in H12 and "ier 1Yes" in J12 or any other of the multiple other combinations is OK. I prefer evaluating the 2 conditions set out by the OP "Sean Timmons" wrote: Or if you want to be fancy: =IF(H12&J12="Tier 1Yes",150*B12,"None") "Glenn" wrote: RoadKill wrote: I've gone brain dead on this. Here is my formula, what am I doing wrong? Thanks =IF(H12="Tier 1" & J12="Yes",(150*B12),"None") =IF(AND(H12="Tier 1",J12="Yes"),(150*B12),"None") 
#8




IF Statement with two variables
Please see myriad responses to your post from a couple minutes ago. Should
cover you. "RoadKill" wrote: I've gone brain dead on this. Here is my formula, what am I doing wrong? Thanks =IF(H12="Tier 1" & J12="Yes",(150*B12),"None") 
#9




IF Statement with two variables
Works great, thanks Sean.
"Sean Timmons" wrote: Or if you want to be fancy: =IF(H12&J12="Tier 1Yes",150*B12,"None") "Glenn" wrote: RoadKill wrote: I've gone brain dead on this. Here is my formula, what am I doing wrong? Thanks =IF(H12="Tier 1" & J12="Yes",(150*B12),"None") =IF(AND(H12="Tier 1",J12="Yes"),(150*B12),"None") 
Reply 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Forum  
Not at all clear on use of variables and/or object variables  Excel Discussion (Misc queries)  
how do i if statement for 3 variables  Excel Worksheet Functions  
Conditional Statement with many variables  Excel Discussion (Misc queries)  
Too many variables for an if than statement?  New Users to Excel  
Using variables as first and last cells in range statement  Excel Worksheet Functions 