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!
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
VoG... this formula worked for the YES (TRUE) / NO (FALSE) results, but the blank's give me an "N/A" error. I've tried replacing the two "BLANK" with """", and that didn't fix it either... suggestions?
 
Upvote 0
Scott & VoG, both of your IF formulas fixed the blank issue, but now it's only giving me a result of FALSE if YES or NO is chosen.
 
Upvote 0
Are you sure it is "YES", not " YES" or "YES " for example.

It works for me by the way.
 
Upvote 0
I copied the formula you wrote and changed the Cell to the cell I'm using. However, I did go back through to make sure I didn't accidentally mess with the quotation symbols and I have not. I also went back to make sure both cells (formula and reference) are the same type and they are (general). You don't think it's because the reference cell is a dropdown box instead of a manual entry, do you?
 
Upvote 0
Case sensitive problem? You want to mimic the case of your dropdown list in your formula.
 
Upvote 0
As above check for leading or trailing spaces in your allowed values (Data Validation list).

Excel Workbook
AB
1NOFALSE
2YESTRUE
3BLANK
Sheet9
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,839
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