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

JakkeJakobsen

Board Regular
Joined
Sep 10, 2014
Messages
89
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.
 

Some videos you may like

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,350
=IF(AND(A1 < 2, B1 > 2),"Medium",IF(AND(A1 > 2, B1 > 2),"Closed",IF(AND(A1 < 2, B1 < 2),"Open","OTHER")))
 

JakkeJakobsen

Board Regular
Joined
Sep 10, 2014
Messages
89
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! :)
 

JakkeJakobsen

Board Regular
Joined
Sep 10, 2014
Messages
89
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...
 

Watch MrExcel Video

Forum statistics

Threads
1,109,447
Messages
5,528,803
Members
409,837
Latest member
karnasrinivas
Top