Updating a list to a yes/no

userpoets

New Member
Joined
Mar 21, 2019
Messages
8
I'm currently trying to update a formula from a four-tiered option to a two-tiered.

The current formula looks like this:

=IF($B5="","",IF(W5=1,"Great",IF(W5=2,"Good",IF(W5=3,"Weak",IF(W5=4,"Bad","")))))

$B5 is a date field, if there's nothing there then the cell should be blank.

I'm trying to update this from a number giving a certain response to either a blank or an X. IE if cell W5 is blank, it's "Good" and if cell W5 is "x" then it's "Bad."

This looks like it should be right, but I'm getting a name error. Any idea what I'm doing wrong?

=IF($B5="","",IF(W5=x,"Bad",IF(W5="","Good")))
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
If W5 can only be x or blank you could use
=IF($B5="","",IF(W5="x","Bad","Good"))
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

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