Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2008

Tip: Looking for answers? Try searching our database.

Vlookup and certain "bugs"?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kylera - 11 Feb 2008 12:13 GMT
I'm trying to make a report card of sorts with Excel 2003. On one sheet
will be where I type everything up -- classes, grades, scores, etc. In
one column (in my case, B, starting with Row 4), I will type in a
letter grade (A+, A, A-, replace A with B~D and F) and the column next
to it (C) will display the corresponding GPA using VLOOKUP. The VLOOKUP
function connects this sheet to another sheet that's aptly called GPA.
In that sheet, column A has letter grades in descending order from A+
to F. The next column has its corresponding point (4.3, 4, 3.7, 3.3, 3,
2.7, etc). I have run into a couple of issues to which solutions to
either one or both will be greatly appreciated.

GPA sheet
A          B
Grade | Point
A+         4.3
A           4
A-         3.7
B+         3.3
B           3
B-          2.7
so on and so forth
F            0

1. When I type in "A", the VLOOKUP cell next to it gives me a #N/A
error. When I type in anything other than B or F, they give a totally
different value (C is supposed to give 2 but gives 2.7 and D gives 1.7
instead of 1). Only B and F give proper values.

Signature

kylera

Don Guillett - 11 Feb 2008 14:10 GMT
Try re-typing your a+,a etc. (try the A first)

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>
> I'm trying to make a report card of sorts with Excel 2003. On one sheet
[quoted text clipped - 24 lines]
> different value (C is supposed to give 2 but gives 2.7 and D gives 1.7
> instead of 1). Only B and F give proper values.
Don Guillett - 11 Feb 2008 14:41 GMT
Also add ,false as the last parameter

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> Try re-typing your a+,a etc. (try the A first)
>
[quoted text clipped - 25 lines]
>> different value (C is supposed to give 2 but gives 2.7 and D gives 1.7
>> instead of 1). Only B and F give proper values.
Ron Rosenfeld - 11 Feb 2008 14:12 GMT
>I'm trying to make a report card of sorts with Excel 2003. On one sheet
>will be where I type everything up -- classes, grades, scores, etc. In
[quoted text clipped - 23 lines]
>different value (C is supposed to give 2 but gives 2.7 and D gives 1.7
>instead of 1). Only B and F give proper values.

It would have been useful if you had posted the formula you used.  Saves me
from having to read minds.

 My guess is that you did not specify range_lookup so it defaulted to True
which would require that your grades be sorted (which they are not).  Given the
posting of your table, you probably shoud have this argument specified as
false.
--ron
Gav123 - 11 Feb 2008 14:35 GMT
Hi Kylera,

I formatted the text for the grades on sheet GPA to General and the points
to number...

GPA sheet
A          B
Grade | Point
A+         4.3
A           4
A-         3.7
B+         3.3
B           3
B-          2.7

On your reports card sheet in cell C4 enter this...

=VLOOKUP(B4,GPA!A4:B9,2,0)

Adjust ranges to suit GPA!A4:B9

This works fine on Excel 2003...

Hope this helps,

Gav.

> I'm trying to make a report card of sorts with Excel 2003. On one sheet
> will be where I type everything up -- classes, grades, scores, etc. In
[quoted text clipped - 23 lines]
> different value (C is supposed to give 2 but gives 2.7 and D gives 1.7
> instead of 1). Only B and F give proper values.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.