![]() |
Use of "AND"
How do i use "AND" in an if statement on Excel worksheet?
|
Use of "AND"
Hi,
when you want to meet two conditions for example A1= 2 A2= 3 if the conditions above are true you want to result be "OK" otherwise "WRONG" =if(and(A1=2,A2=3),"OK","WRONG") "Wally" wrote: How do i use "AND" in an if statement on Excel worksheet? |
Use of "AND"
Here's an example:
=IF(AND(A10,B10),"Positive","not valid") Both A1 and B1 have to be greater than 0 to get "positive". Hope this helps. Pete On Feb 23, 6:47*pm, Wally wrote: How do i use "AND" in an if statement on Excel worksheet? |
All times are GMT +1. The time now is 07:02 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com