Puzzling IF Statement

forbudt4u

Board Regular
Joined
Jul 22, 2006
Messages
54
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
  2. Mobile
  3. Web
I've tried searching the forum for this answer and I can't exactly find the answer I'm looking for. I'm not even sure if this will require an IF Statement or VLookup?

I have a couple of cells that have a drop down with 3 available answers:

YES
NO
BLANK

I want to create a formula that references the said cell's value but results in producing the following:

If cell = YES, then the result would be TRUE
If cell = NO, then the result would be FALSE
If cell = BLANK, then the result would be BLANK

I could have used a checkbox instead of a YES, NO or BLANK answer, but checkboxes are hard to see for some of our users... hence the reason for having this issue. Any help would be appreciated!
 
Figured it out due to the Data Validation pointer you gave. There was not a leading or trailing space, but the cell with "YES" in it was a listed as a Text type cell. I changed it to General and it fixed it.

That does the trick... again, the board comes through. Thanks guys!!!
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top