Referencing text from drop down list in an IF stmnt

murraythek

Board Regular
Joined
Aug 31, 2015
Messages
61
Trying to create an IF stmnt to trigger a text response but I'm struggling to put it together.

B20 is pulled from a drop down list (White Honda, Blue Honda, Black Honda etc) so I need to reference that text exactly. Note there is "1' space in front of each vehicle as you can see below.

Formula: =IF((AND(B20= "White Honda", B30>=460, B32>=460)), "Goal Met","Goal Not Met")

It keeps wanting to correct "White Honda" to "WHITEHONDA". Is there something Im missing in trying to reference that cell text as its inputted? The cell is formatted for general but changing it to text doesn't help.

If there's a better formula for this then please let me know. Basically if they sell equal to or more than 460 White Honda's I want the alert to notify them on excel.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
your formula works fine for me (apart from the fact that it has no space in front of "White Honda")

It's difficult to help with this, without seeing the actual sheet
 
Upvote 0
Solution

Forum statistics

Threads
1,215,759
Messages
6,126,730
Members
449,333
Latest member
Adiadidas

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