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.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Special-K99

Well-known Member
Joined
Nov 7, 2006
Messages
8,425
Office Version
  1. 2019
=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...
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,652
Messages
5,838,603
Members
430,557
Latest member
MK15

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
Top