Returning text after a specific value with restrictions

ddennis

New Member
Joined
Apr 21, 2004
Messages
22
Dear all:

I am currently using this code to return specific text when a value is computed:

=IF(G5>=3.8,"SUMMA CUM LAUDE",IF(G5>=3.5,"MAGNA CUM LAUDE", IF(G5<=3.2,"NONE",IF(G5>=3.2,"CUM LAUDE",""))))

So far, It works well. However; in another column I2, which is named "Division", the cells is populated with "Graduate" and "Undergraduate".

I would like to apply the above statement to the Undergraduates ONLY and return the appropriate message.

Many thanks in advance.

Regards,

Dion
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hello

I think

=IF(I5="Undergraduate",IF(G5>=3.8,"SUMMA CUM LAUDE",IF(G5>=3.5,"MAGNA CUM LAUDE",IF(G5<=3.2,"NONE",IF(G5>=3.2,"CUM LAUDE")))),"")

should work.
 
Upvote 0
=IF(I5="Undergraduate",LOOKUP(IF(G5<=3.2,0,G5),{0,"NONE";3.2,"CUM LAUDE";3.5,"MAGNA CUM LAUDE";3.8,"SUMMA CUM LAUDE"}),"Not Applicable")
 
Upvote 0

Forum statistics

Threads
1,221,787
Messages
6,161,960
Members
451,734
Latest member
Anmol Pandey19

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