View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers Toppers is offline
external usenet poster
 
Posts: 4,339
Default HELP fixing GPA formula's

Try:

=LOOKUP(D18,{"a","a-","b","b-","b+","c","c-","c+","d","d-","d+","f"},{4,3.7,3,2.7,3.3,2,1.7,2.3,1,1,0.7,1.3 ,0})*E18

"JohnG" wrote:

I tried changing the order as you suggested, but now I receive an error
message:

"The formula you typed contains an error." I still have the same
information just changed the order:
=LOOKUP(D18,{"a","a-","b","b-","b+","c","c-","c+","d","d-","d+","f";4,3.7,3,2.7,3.3,2,1.7,2.3,1,1,0.7,1.3,0 })*E18

Can I send you a copy of the spreadsheet with coloums heading and all the
information that I have so that you can see what can be done.


"Toppers" wrote:

OR change order of data in LOOKUP to be:

a,a-,b,b-,b+ etc

"JohnG" wrote:

This is my formula but what I should be getting for: B's, C's & D's is not
what I am getting:

=LOOKUP(D18,{"a","a-","b+","b","b-","c+","c","c-","d+","d","d-","f";4,3.7,3.3,3,2.7,2.3,2,1.7,1.3,1,0.7,0})* E18

As you can see from my spread sheet I am getting the wrongs numbers:

A 1 4
A- 1 3.7
B+ 1 3.3
B 1 3.7 (should be 3)
B- 1 3.7
C+ 1 2.3
C 1 2.7 (should be 2)
C- 1 2.7
D+ 1 1.3
D 1 1.7 (should be 1)
D- 1 1.7
F 1 0

Can someone please tell me where my formula is going wrong. Because for the
rest of the sheet there should be nothing showing if there is no grade to
enter.