ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF AND (https://www.excelbanter.com/excel-worksheet-functions/107761-if.html)

Steve-D

IF AND
 
I have a spreadsheet tracking completed equipment...
I am trying this:
=IF(AND(K2="*",N2="TB"),1,0
where K2 is various entries and I only need to know that something is in
this cell, if there is and N2 is the equip type (TB). If both are true, I
want a value of 1....however I am having trouble with the wildcard in the
'IF' formula....
another way to say it is .....if I have an entry in K2 and N2...then give me
a '1' in O2.
Thx lots

Bob Phillips

IF AND
 
=IF(AND(K2<"",N2="TB"),1,0)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Steve-D" wrote in message
...
I have a spreadsheet tracking completed equipment...
I am trying this:
=IF(AND(K2="*",N2="TB"),1,0
where K2 is various entries and I only need to know that something is in
this cell, if there is and N2 is the equip type (TB). If both are true, I
want a value of 1....however I am having trouble with the wildcard in the
'IF' formula....
another way to say it is .....if I have an entry in K2 and N2...then give

me
a '1' in O2.
Thx lots





All times are GMT +1. The time now is 05:34 AM.

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