Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 310
Default array vlookup formula help

I have several sheets as keys -an employee key, percentage key and a pay
grade key. I hope this makes sense. On the employee key I would like to
pull in paygrade comparisons from the grade key spreadsheet. For example,
the employee earns 5.00/hr, on the FY03 grade he is in the "maximum" grade
and on the FY07 grade he is in the "job worth" grade.

On Grade Key spreadsheet
fy03 fy07
grade low high status grade low high status
5 3 3.99 minimum 5 4.00 4.99 minimum
5 4 4.99 job worth 5 5.00 5.99 job worth
5 5 5.99 maximum 5 6.00 6.99 maximum
5 6 over max 5 7 over max
6 4.5 6.99 minimum 6 5.5 7.99 minimum
6 5.5 7.99 job worth 6 6.5 8.99 job worth

On Employee Key spreadsheet
Employee Grade Per Hour FY03 FY07
Jane Doe 5 5.00 Max Job Worth

Thanks in advance

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 273
Default array vlookup formula help

have you tried using vlookup? perhaps something like this:
for fy03, =VLOOKUP(C2,'key grade'!$B$3:$D$8,3,FALSE), where c2 is the per
hour employee wage to be found and b3:d8 is the range of key grades
(basically i copied your data into the range b3:h8 on a sheet named key
grade, then applied the vlookup function)

hope this helps,
-chad

"michelle" wrote:

I have several sheets as keys -an employee key, percentage key and a pay
grade key. I hope this makes sense. On the employee key I would like to
pull in paygrade comparisons from the grade key spreadsheet. For example,
the employee earns 5.00/hr, on the FY03 grade he is in the "maximum" grade
and on the FY07 grade he is in the "job worth" grade.

On Grade Key spreadsheet
fy03 fy07
grade low high status grade low high status
5 3 3.99 minimum 5 4.00 4.99 minimum
5 4 4.99 job worth 5 5.00 5.99 job worth
5 5 5.99 maximum 5 6.00 6.99 maximum
5 6 over max 5 7 over max
6 4.5 6.99 minimum 6 5.5 7.99 minimum
6 5.5 7.99 job worth 6 6.5 8.99 job worth

On Employee Key spreadsheet
Employee Grade Per Hour FY03 FY07
Jane Doe 5 5.00 Max Job Worth

Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 310
Default array vlookup formula help

Thank you for your response. I have tried a vlookup, but I ran into problems
because of the grades. In the following example, 4.5 would fall under either
grade 5 or grade 6.
5 4 4.99 job worth 5 5.00 5.99 job worth
6 4.5 6.99 minimum 6 5.5 7.99 minimum

I tried to do the following formula (where column "D" is the job worth,
column "A" is the grade, and column "B" is the pay scale). I also tried
inserting a vlookup where the match is too. I get #n/a as answer.
=INDEX('Grade Key'!$D$3:$D$62,MATCH(1,('Grade Key'!$A$3:$A$62=H2)*('Grade
Key'!$B$3:$B$62=P2),0),1)

"Chad" wrote:

have you tried using vlookup? perhaps something like this:
for fy03, =VLOOKUP(C2,'key grade'!$B$3:$D$8,3,FALSE), where c2 is the per
hour employee wage to be found and b3:d8 is the range of key grades
(basically i copied your data into the range b3:h8 on a sheet named key
grade, then applied the vlookup function)

hope this helps,
-chad

"michelle" wrote:

I have several sheets as keys -an employee key, percentage key and a pay
grade key. I hope this makes sense. On the employee key I would like to
pull in paygrade comparisons from the grade key spreadsheet. For example,
the employee earns 5.00/hr, on the FY03 grade he is in the "maximum" grade
and on the FY07 grade he is in the "job worth" grade.

On Grade Key spreadsheet
fy03 fy07
grade low high status grade low high status
5 3 3.99 minimum 5 4.00 4.99 minimum
5 4 4.99 job worth 5 5.00 5.99 job worth
5 5 5.99 maximum 5 6.00 6.99 maximum
5 6 over max 5 7 over max
6 4.5 6.99 minimum 6 5.5 7.99 minimum
6 5.5 7.99 job worth 6 6.5 8.99 job worth

On Employee Key spreadsheet
Employee Grade Per Hour FY03 FY07
Jane Doe 5 5.00 Max Job Worth

Thanks in advance

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
vlookup with a sum of array Jerry (the latin men) Excel Worksheet Functions 5 January 17th 07 02:31 AM
VLOOKUP ARRAY Dave Excel Discussion (Misc queries) 2 November 21st 06 04:08 PM
VLOOKUP - 3 Table Array tangomj Excel Worksheet Functions 1 August 1st 06 05:43 PM
vlookup returns last value in array Nicholas Scarpinato Excel Worksheet Functions 3 April 12th 06 06:59 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 02:00 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"