Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Getting Grades

In Excel2000, I have the following data:

Name A B C
x 10 12 14
y 8 6 4
z 15 10 8

I want to be able to look up name and then amount and then give me
Grade (A,B,C) like this:

Name Amount Grade
x 12 B - lookup


What's the easist way to do this?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Getting Grades

Hi
try the following formula
=INDEX($B$1:$D$1,1,MATCH(B2,OFFSET('data'!$B$2:$D$ 2,MATCH(A2,'data'!$A$
2:$A$10,0)-1,0),0))


--
Regards
Frank Kabel
Frankfurt, Germany


snax500 wrote:
In Excel2000, I have the following data:

Name A B C
x 10 12 14
y 8 6 4
z 15 10 8

I want to be able to look up name and then amount and then give me
Grade (A,B,C) like this:

Name Amount Grade
x 12 B - lookup


What's the easist way to do this?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Getting Grades

Thanks for the reply. However it appears that the formula works only if it
is looking up an exact number. For example, if I have the following:

Name A B C
x 10 12 14
y 8 6 4
z 15 10 8

and I lookup:

name amount grade
z 11 B

thanks




"Frank Kabel" wrote in message
...
Hi
try the following formula
=INDEX($B$1:$D$1,1,MATCH(B2,OFFSET('data'!$B$2:$D$ 2,MATCH(A2,'data'!$A$
2:$A$10,0)-1,0),0))


--
Regards
Frank Kabel
Frankfurt, Germany


snax500 wrote:
In Excel2000, I have the following data:

Name A B C
x 10 12 14
y 8 6 4
z 15 10 8

I want to be able to look up name and then amount and then give me
Grade (A,B,C) like this:

Name Amount Grade
x 12 B - lookup


What's the easist way to do this?

Thanks




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Getting Grades

Hi
try
=INDEX($B$1:$D$1,1,MATCH(B2,OFFSET('data'!$B$2:$D$ 2,MATCH(A2,'data'!$A$
2:$A$10,0)-1,0),1))

--
Regards
Frank Kabel
Frankfurt, Germany


jessica gottschalk wrote:
Thanks for the reply. However it appears that the formula works only
if it is looking up an exact number. For example, if I have the
following:

Name A B C
x 10 12 14
y 8 6 4
z 15 10 8

and I lookup:

name amount grade
z 11 B

thanks




"Frank Kabel" wrote in message
...
Hi
try the following formula

=INDEX($B$1:$D$1,1,MATCH(B2,OFFSET('data'!$B$2:$D$ 2,MATCH(A2,'data'!$A$
2:$A$10,0)-1,0),0))


--
Regards
Frank Kabel
Frankfurt, Germany


snax500 wrote:
In Excel2000, I have the following data:

Name A B C
x 10 12 14
y 8 6 4
z 15 10 8

I want to be able to look up name and then amount and then give me
Grade (A,B,C) like this:

Name Amount Grade
x 12 B - lookup


What's the easist way to do this?

Thanks


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
Grades Chi Excel Discussion (Misc queries) 2 September 2nd 09 04:28 PM
assigning grades tracy Excel Worksheet Functions 2 July 23rd 08 10:43 PM
Grades Michael L Excel Worksheet Functions 2 October 4th 05 04:19 PM
grades Ggal Excel Discussion (Misc queries) 1 March 19th 05 08:23 PM
Grades boogie Excel Programming 1 January 16th 04 04:04 AM


All times are GMT +1. The time now is 10:28 PM.

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

About Us

"It's about Microsoft Excel"