Nested IF formulas

dowcraig

New Member
Joined
Jan 14, 2009
Messages
36
Good afternoon,
I'm trying to create a nested formula in cell Y1 that will return the values of HIGH or LOW depending on a few criteria.

1) First off - I want the cell to return a blank value of nothing applies
2) Looking to have the value of HIGH or LOW returned depending on if the value in cell X1 is greater than 59%
3) Looking o have the value of HIGH returned if the contents of cell W1 is either "Dog", Cat" or Bird"

This is what I've come up with, but it's not working:
=IF(OR(ISNUMBER(SEARCH("Dog",W1)),ISNUMBER(SEARCH("Cat",W1)),ISNUMBER(SEARCH("Bird",W1))),"HIGH","LOW"),IF(X1="","",IF(X1>59%,"HIGH","LOW"))

Any help you can provide would be appreciated. Thank you.
 

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.
=if(OR(W1="dog",W1="cat",W1="bird"), "High", "low")

I dont understand the point 2)

is it High if X1 is greater than 59% otherwise its LOW
and so how would 1 work - as there willl never be a condition that nothing apples unless i suppose if X1 = blank

=if(OR(W1="dog",W1="cat",W1="bird", X1>0.59), "High", if(X1="","","low"))
 
Last edited:
Upvote 0
That works great. Thank you.

One problem that is presenting itself is that we can choose multiple items in W1, which is a drop down list(we could choose dog and cat) and when that happens, no value is returned.
 
Upvote 0
what are all the options

dog
cat
bird
what else is in the cell

are seen differently

is that why you did a search ?
 
Upvote 0
There is a list of 13 options. Let's call them:

Bird
Dog
Cat
Fish
Seagull
Dingo
Rat
Mouse
Racoon
Monkey
Rabbit
Cow
Horse

The first 3 are considered high probability animals and we need to return a HIGH result in the cell with the formual. The last 8 are irrelevant, other than providing the reader with some information. But, the problem is that ALL 11 can be chosen at the same time and when that happens, or even just 2 of them happens, it's not returning HIGH if one of, or multiple of the first three are chosen.
 
Upvote 0
how can they all be chosen in one cell
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,260
Members
452,627
Latest member
KitkatToby

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