Multiple IF AND Statements with 3 Possible Outcomes?

c.clavin

Board Regular
Joined
Mar 22, 2011
Messages
123
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi guys, I am tying myself into knots trying to figure this out. I'm sure it's possible to get. I've been working on this for like 3 hours with no success, please help!!

I need the output of one cell to have 3 possible entries; EASY, MEDIUM, and HARD based on if two other cells have text or not.

If both cells have text, then HARD
If cell 1 has text but cell 2 doesn't have text, then MEDIUM
If both cells don't have text, then EASY
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
I wrote it down wrong, it should be:

EASY if both blank
MEDIUM if A1 has text and B2 is blank
HARD if A1 and B2 have text
 
Upvote 0
This is what I am trying to use for my formula, but it's giving me an error code.

=IF(AND(A1=<>"",B2="","MEDIUM",IF(AND(A1=<>"",B2=<>"","HARD",IF(AND(A1="",B2="","EASY")
 
Upvote 0
Hi

Excel Formula:
=CHOOSE(COUNTA(A1,B2)+1,"easy","medium","hard")
 
Upvote 0

Forum statistics

Threads
1,215,472
Messages
6,125,005
Members
449,203
Latest member
Daymo66

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