Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Overcoming Nested IF limits

I am trying to make a GPA calculator that also calculates the Quality Points
and the nested IFs worked fine until we added the minus grades to the mix.

Typically a course is worth 4 credits, so I am trying to get results like:
Bio 100 4crs A- (grade) 14.68 (4*3.67=Quality Points) 3.67 (GPA
Credits)
Bio 200 4crs B (grade) 12.00 (4*3.00=Quality Points) 3.00 (GPA
Credits)

So, any suggestions on how I might make the following nested IFs into a
vlookup since I have more than the allowed 7 nested IFs?

This was the formula in the Quality Points cell

=IF(F20="A",4*E20,
IF(F20="A-",3.67*E20,IF(F20="B+",E20*3.33,IF(F20="B",E20 *3,
IF(F20="B-",2.67*E20,IF(F20="C+",E20*2.33,IF(F20="C",E20 *2,
IF(F20="C-",1.67*E20,IF(F20="D",E20*1,IF(F20="F",E20*0," No Grade"))))))) GPA
Credits

This was the formula in the GPA Credits cell

=IF(OR(F20="A", F20="A-",F20="B+",F20="B", F20="B-",F20="C+",F20="C",
F20="C-",F20="D",F20="F"),E20,"No GPA Credits")

Should the VLOOKUP be written like this if I set aside a 2-colum reference
range elsewhere on the form
=IF(F20<€€,+F20$VLOOKUP(E20,$A33:B42,2),0)

Since I am EXTREMELY new to this type of work with EXCEL, any help would be
deeply appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 329
Default Overcoming Nested IF limits

hi LIUPharm,

I take it you're having trouble with your formula in the Quality Points
cell. Assuming F20 must have a valid grade or be empty, try this:
=IF(F20="","No
Grade",((F20="A")*4+(F20="A-")*3.67+(F20="B+")*3.33+(F20="B")*3+(F20="B-")*2
..67+(F20="C+")*2.33+(F20="C")*2+(F20="C-")*1.67+(F20="D")*1+(F20="F")*0)*E20
)

Likewise, the formula in the GPA Credits cell could probably be simplified
to:
=IF(F20="","No GPA Credits",E20)

Cheers

--
macropod
[MVP - Microsoft Word]


"LIUPharm" wrote in message
...
I am trying to make a GPA calculator that also calculates the Quality

Points
and the nested IFs worked fine until we added the minus grades to the mix.

Typically a course is worth 4 credits, so I am trying to get results like:
Bio 100 4crs A- (grade) 14.68 (4*3.67=Quality Points) 3.67 (GPA
Credits)
Bio 200 4crs B (grade) 12.00 (4*3.00=Quality Points) 3.00 (GPA
Credits)

So, any suggestions on how I might make the following nested IFs into a
vlookup since I have more than the allowed 7 nested IFs?

This was the formula in the Quality Points cell

=IF(F20="A",4*E20,
IF(F20="A-",3.67*E20,IF(F20="B+",E20*3.33,IF(F20="B",E20 *3,
IF(F20="B-",2.67*E20,IF(F20="C+",E20*2.33,IF(F20="C",E20 *2,
IF(F20="C-",1.67*E20,IF(F20="D",E20*1,IF(F20="F",E20*0," No Grade")))))))

GPA
Credits

This was the formula in the GPA Credits cell

=IF(OR(F20="A", F20="A-",F20="B+",F20="B", F20="B-",F20="C+",F20="C",
F20="C-",F20="D",F20="F"),E20,"No GPA Credits")

Should the VLOOKUP be written like this if I set aside a 2-colum reference
range elsewhere on the form
=IF(F20<€€,+F20$VLOOKUP(E20,$A33:B42,2),0)

Since I am EXTREMELY new to this type of work with EXCEL, any help would

be
deeply appreciated!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Overcoming Nested IF limits

THANK YOU! THANK YOU! THANK YOU!

"macropod" wrote:

hi LIUPharm,

I take it you're having trouble with your formula in the Quality Points
cell. Assuming F20 must have a valid grade or be empty, try this:
=IF(F20="","No
Grade",((F20="A")*4+(F20="A-")*3.67+(F20="B+")*3.33+(F20="B")*3+(F20="B-")*2
..67+(F20="C+")*2.33+(F20="C")*2+(F20="C-")*1.67+(F20="D")*1+(F20="F")*0)*E20
)

Likewise, the formula in the GPA Credits cell could probably be simplified
to:
=IF(F20="","No GPA Credits",E20)

Cheers

--
macropod
[MVP - Microsoft Word]


"LIUPharm" wrote in message
...
I am trying to make a GPA calculator that also calculates the Quality

Points
and the nested IFs worked fine until we added the minus grades to the mix.

Typically a course is worth 4 credits, so I am trying to get results like:
Bio 100 4crs A- (grade) 14.68 (4*3.67=Quality Points) 3.67 (GPA
Credits)
Bio 200 4crs B (grade) 12.00 (4*3.00=Quality Points) 3.00 (GPA
Credits)

So, any suggestions on how I might make the following nested IFs into a
vlookup since I have more than the allowed 7 nested IFs?

This was the formula in the Quality Points cell

=IF(F20="A",4*E20,
IF(F20="A-",3.67*E20,IF(F20="B+",E20*3.33,IF(F20="B",E20 *3,
IF(F20="B-",2.67*E20,IF(F20="C+",E20*2.33,IF(F20="C",E20 *2,
IF(F20="C-",1.67*E20,IF(F20="D",E20*1,IF(F20="F",E20*0," No Grade")))))))

GPA
Credits

This was the formula in the GPA Credits cell

=IF(OR(F20="A", F20="A-",F20="B+",F20="B", F20="B-",F20="C+",F20="C",
F20="C-",F20="D",F20="F"),E20,"No GPA Credits")

Should the VLOOKUP be written like this if I set aside a 2-colum reference
range elsewhere on the form
=IF(F20<รข‚ฌยรข‚ฌย,+F20$VLOOKUP(E20,$A33:B42, 2),0)

Since I am EXTREMELY new to this type of work with EXCEL, any help would

be
deeply appreciated!




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nested Sub-Totals in Excel NC Yoko Excel Discussion (Misc queries) 5 October 4th 06 10:44 PM
Nested IF statement with VLOOKUP James Hamilton Excel Discussion (Misc queries) 1 August 16th 06 07:46 AM
overcoming nested IF limitations...with VBA? JLC Excel Worksheet Functions 3 November 7th 05 11:06 AM
Nested Subtotals in Excel 2002 KG Excel Discussion (Misc queries) 2 September 10th 05 11:51 AM
Why are my nested sub-totals are displaying incorrectly? chiefdean13 Excel Discussion (Misc queries) 1 July 20th 05 05:45 AM


All times are GMT +1. The time now is 11:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ฉ2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"