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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
You need quotes around the x
 
Upvote 0
If W5 can only be x or blank you could use
=IF($B5="","",IF(W5="x","Bad","Good"))
 
Upvote 0

Forum statistics

Threads
1,214,528
Messages
6,120,065
Members
448,942
Latest member
sharmarick

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