ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to set up a conditinal formula w/letters vs numbers? (https://www.excelbanter.com/excel-worksheet-functions/261178-how-set-up-conditinal-formula-w-letters-vs-numbers.html)

lz

How to set up a conditinal formula w/letters vs numbers?
 
I'm trying to create a conditional formula that will say true if the cell
contains a certain string of words and false if it doesn't.
For example:

If in cell A3 it says "yello" then true
If in cell A3 it says "black" then false
If in cell A3 it says "white" then false

However, it gives me an error message; is it because I can only use numbers?

ozgrid.com

How to set up a conditinal formula w/letters vs numbers?
 
Select A3 and use Custom; ="yellow"


--
Regards
Dave Hawley
www.ozgrid.com
"lz" wrote in message
...
I'm trying to create a conditional formula that will say true if the cell
contains a certain string of words and false if it doesn't.
For example:

If in cell A3 it says "yello" then true
If in cell A3 it says "black" then false
If in cell A3 it says "white" then false

However, it gives me an error message; is it because I can only use
numbers?



Dave

How to set up a conditinal formula w/letters vs numbers?
 
Hi lz,
In the cell you would like your True/False answer, put:
=A3="yello"
This should produce the result you need.
Regards - Dave.

"lz" wrote:

I'm trying to create a conditional formula that will say true if the cell
contains a certain string of words and false if it doesn't.
For example:

If in cell A3 it says "yello" then true
If in cell A3 it says "black" then false
If in cell A3 it says "white" then false

However, it gives me an error message; is it because I can only use numbers?



All times are GMT +1. The time now is 12:58 PM.

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