hlookup

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi community

when i created a table horizontally, a value from Ascending scale...
example:

mark: 0 30 40 60 80 90
grade F E D C B A

and when I used the =hlookup to find the approximate mark say, 85, I able to
obtain "B"

however when I reverse the mark to Descending scale...
and use the same hlookup method with 85 I obtain an "F"

is there a way to find the correct grade if I place the mark in Descending
scale ??

thanks community for help render :)
 
With your table in A1:F2 and your search argument in A4:

=INDEX(A2:F2,,MATCH(A4,A1:F1,-1))

Gives you "A"

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| hi community
|
| when i created a table horizontally, a value from Ascending scale...
| example:
|
| mark: 0 30 40 60 80 90
| grade F E D C B A
|
| and when I used the =hlookup to find the approximate mark say, 85, I able to
| obtain "B"
|
| however when I reverse the mark to Descending scale...
| and use the same hlookup method with 85 I obtain an "F"
|
| is there a way to find the correct grade if I place the mark in Descending
| scale ??
|
| thanks community for help render :)
|
| --
| oldLearner57
 
You would need ot add a new row which is 100-Mark
mark : 90 80 60 40 30 0
Nmark:10 20 40 60 80 90
grade A B C D E F


Then take the grade ans subtract from 100 and lookup in the Nmark row.
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top