Setting multiple values of a cell based on other cells

Lookslikerain

New Member
Joined
Aug 16, 2018
Messages
5
I have two cells F6 is a number value, L6 is text either "Personal" or "Public"

I need to out put either "Very minor" "minor" "Serious" "Major" based on the values of F6 and L6
First part i tested is below but i cannot get any further as got stuck on addition checking of values in F6 and L6 and setting one of four outputs.

=IF(AND(E6<=100,L6="Personal"),"Very Minor","") works but is incomplete
Rules are;
If L6 <= 100 and L6=personal output is Very minor
If L6 >100 and L6=personal output is minor
If L6 <= 100 and L6=public output is serious
If L6 > 100 and L6=public output is Major

I cannot work this out using AND OR also can't get four outputs, any ideas greatly appreciated.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
how about?

Code:
=IF(F6>100,IF(L6="Personal","Minor","Major"),IF(L6="Personal","Very minor","Serious"))
 
Upvote 0
That worked perfectly thank you. I was trying to include too many specific IF statements! That is a very neat solution.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,259
Members
452,626
Latest member
huntinghunter

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