Possible to get text as output from formula (if cell X is <2 etc)?

JakkeJakobsen

Board Regular
Joined
Sep 10, 2014
Messages
94
It is a bit more complicated than the title, but it goes for the same.

But more specifically, I want this: If A1 is <2, and B1 is 2>, I want it to give me "Medium". If A1 is 2>, and B1 is 2>, I want it go give me "Closed". If A1 is <2, and B1 is <2, I want it to give me "Open".

Is this possible? It would be like conditional formatting, just that the text changes instead of text or bg color.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
=IF(AND(A1 < 2, B1 > 2),"Medium",IF(AND(A1 > 2, B1 > 2),"Closed",IF(AND(A1 < 2, B1 < 2),"Open","OTHER")))
 
Upvote 0
Oh my god, you guys are like hawks on these threads!

I will test it and come back to you, thank you very much for fast answer! :)
 
Upvote 0
Works perfectly, cheers!

But I have to pick your brains once more.

I have 4 counters, which, if it is above X amount will give out Closed. If not, it will give out Open.

I have another counter, which is the one above, only the answers are High, Med and Low instead of Closed, Med and Open.

These two in total will give out High, Med, Low and closed based on numbers A, B and C.

I probably have to give you access to my spreadsheet to show you. Not advanced for you guys to set up, but hard to explain...
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,975
Members
449,095
Latest member
Mr Hughes

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