Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Another VLOOKUP Problem

Hello again,

I'm tearing my hair out here and hope someone can help me (please)!

I need to use a VLOOKUP within a VLOOKUP. Below is the layout of my data.
Year data (G4:H8) is named YEAR and the other cell range (A3:M13) is named
SALARIES

A3
Salaries by Scale
G4 G5
Year 1 Year 2 Year 3 Year 4 Year Column
Scale 0% 5% 7% 9% 1 2
2 3
A £7,000.00 £7,350.00 £7,864.50 £8,572.31 3 4
C £7,200.00 £7,560.00 £8,089.20 £8,817.23 4 5
E £7,500.00 £7,875.00 £8,426.25 £9,184.61
G £7,700.00 £8,085.00 £8,650.95 £9,429.54
I £8,100.00 £8,505.00 £9,100.35 £9,919.38
K £9,000.00 £9,450.00 £10,111.50 £11,021.54
M £10,000.00 £10,500.00 £11,235.00 £12,246.15

Employee Scale Year Salary
Joe A 2 formula here to calculate the salary based on year of service and
scale
Sue C 3
Dave J 1
Stu K 4
John L 3

I'd really appreciate someones kind help.
--
Cheers, V
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Another VLOOKUP Problem

Placed in say, D16, then copied down:
=INDEX($B$3:$E$9,MATCH(B16,$A$3:$A$9,0),VLOOKUP(C1 6,$G$4:$H$7,2,0)-1)

where
B16 = Scale, eg: A
C16 = Year, eg: 3

and
$A$3:$A$9 houses the scales: A, C, E etc
$G$4:$H$7 houses the 2 col YEAR table
$B$3:$E$9 houses the salary figs

Adapt to suit ..
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"VivienW" wrote:
Hello again,

I'm tearing my hair out here and hope someone can help me (please)!

I need to use a VLOOKUP within a VLOOKUP. Below is the layout of my data.
Year data (G4:H8) is named YEAR and the other cell range (A3:M13) is named
SALARIES

A3
Salaries by Scale
G4 G5
Year 1 Year 2 Year 3 Year 4 Year Column
Scale 0% 5% 7% 9% 1 2
2 3
A £7,000.00 £7,350.00 £7,864.50 £8,572.31 3 4
C £7,200.00 £7,560.00 £8,089.20 £8,817.23 4 5
E £7,500.00 £7,875.00 £8,426.25 £9,184.61
G £7,700.00 £8,085.00 £8,650.95 £9,429.54
I £8,100.00 £8,505.00 £9,100.35 £9,919.38
K £9,000.00 £9,450.00 £10,111.50 £11,021.54
M £10,000.00 £10,500.00 £11,235.00 £12,246.15

Employee Scale Year Salary
Joe A 2 formula here to calculate the salary based on year of service and
scale
Sue C 3
Dave J 1
Stu K 4
John L 3

I'd really appreciate someones kind help.
--
Cheers, V

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Another VLOOKUP Problem

See for a solution....

"VivienW" wrote:

Hello again,

I'm tearing my hair out here and hope someone can help me (please)!

I need to use a VLOOKUP within a VLOOKUP. Below is the layout of my data.
Year data (G4:H8) is named YEAR and the other cell range (A3:M13) is named
SALARIES

A3
Salaries by Scale
G4 G5
Year 1 Year 2 Year 3 Year 4 Year Column
Scale 0% 5% 7% 9% 1 2
2 3
A £7,000.00 £7,350.00 £7,864.50 £8,572.31 3 4
C £7,200.00 £7,560.00 £8,089.20 £8,817.23 4 5
E £7,500.00 £7,875.00 £8,426.25 £9,184.61
G £7,700.00 £8,085.00 £8,650.95 £9,429.54
I £8,100.00 £8,505.00 £9,100.35 £9,919.38
K £9,000.00 £9,450.00 £10,111.50 £11,021.54
M £10,000.00 £10,500.00 £11,235.00 £12,246.15

Employee Scale Year Salary
Joe A 2 formula here to calculate the salary based on year of service and
scale
Sue C 3
Dave J 1
Stu K 4
John L 3

I'd really appreciate someones kind help.
--
Cheers, V

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Another VLOOKUP Problem

Thank you Max, you're a star! This does give the correct answer and thank
you for the explanation :)

I am really looking for a simpler solution for a particular reason. I need
to use VLOOKUPs but not INDEX and MATCH. Sorry to seem ungrateful - I am
delighted with your reply.

--
Cheers, V


"Max" wrote:

Placed in say, D16, then copied down:
=INDEX($B$3:$E$9,MATCH(B16,$A$3:$A$9,0),VLOOKUP(C1 6,$G$4:$H$7,2,0)-1)

where
B16 = Scale, eg: A
C16 = Year, eg: 3

and
$A$3:$A$9 houses the scales: A, C, E etc
$G$4:$H$7 houses the 2 col YEAR table
$B$3:$E$9 houses the salary figs

Adapt to suit ..
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"VivienW" wrote:
Hello again,

I'm tearing my hair out here and hope someone can help me (please)!

I need to use a VLOOKUP within a VLOOKUP. Below is the layout of my data.
Year data (G4:H8) is named YEAR and the other cell range (A3:M13) is named
SALARIES

A3
Salaries by Scale
G4 G5
Year 1 Year 2 Year 3 Year 4 Year Column
Scale 0% 5% 7% 9% 1 2
2 3
A £7,000.00 £7,350.00 £7,864.50 £8,572.31 3 4
C £7,200.00 £7,560.00 £8,089.20 £8,817.23 4 5
E £7,500.00 £7,875.00 £8,426.25 £9,184.61
G £7,700.00 £8,085.00 £8,650.95 £9,429.54
I £8,100.00 £8,505.00 £9,100.35 £9,919.38
K £9,000.00 £9,450.00 £10,111.50 £11,021.54
M £10,000.00 £10,500.00 £11,235.00 £12,246.15

Employee Scale Year Salary
Joe A 2 formula here to calculate the salary based on year of service and
scale
Sue C 3
Dave J 1
Stu K 4
John L 3

I'd really appreciate someones kind help.
--
Cheers, V

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Another VLOOKUP Problem

Ooops!

Here is the link
http://www.contextures.com/xlFunctio...tml#IndexMatch

"Sheeloo" wrote:

See for a solution....

"VivienW" wrote:

Hello again,

I'm tearing my hair out here and hope someone can help me (please)!

I need to use a VLOOKUP within a VLOOKUP. Below is the layout of my data.
Year data (G4:H8) is named YEAR and the other cell range (A3:M13) is named
SALARIES

A3
Salaries by Scale
G4 G5
Year 1 Year 2 Year 3 Year 4 Year Column
Scale 0% 5% 7% 9% 1 2
2 3
A £7,000.00 £7,350.00 £7,864.50 £8,572.31 3 4
C £7,200.00 £7,560.00 £8,089.20 £8,817.23 4 5
E £7,500.00 £7,875.00 £8,426.25 £9,184.61
G £7,700.00 £8,085.00 £8,650.95 £9,429.54
I £8,100.00 £8,505.00 £9,100.35 £9,919.38
K £9,000.00 £9,450.00 £10,111.50 £11,021.54
M £10,000.00 £10,500.00 £11,235.00 £12,246.15

Employee Scale Year Salary
Joe A 2 formula here to calculate the salary based on year of service and
scale
Sue C 3
Dave J 1
Stu K 4
John L 3

I'd really appreciate someones kind help.
--
Cheers, VO



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Another VLOOKUP Problem

Again, thank you Sheeloo! Had a look and it helps to understand how INDEX
and MATCH work.
--
Cheers, V


"Sheeloo" wrote:

Ooops!

Here is the link
http://www.contextures.com/xlFunctio...tml#IndexMatch

"Sheeloo" wrote:

See for a solution....

"VivienW" wrote:

Hello again,

I'm tearing my hair out here and hope someone can help me (please)!

I need to use a VLOOKUP within a VLOOKUP. Below is the layout of my data.
Year data (G4:H8) is named YEAR and the other cell range (A3:M13) is named
SALARIES

A3
Salaries by Scale
G4 G5
Year 1 Year 2 Year 3 Year 4 Year Column
Scale 0% 5% 7% 9% 1 2
2 3
A £7,000.00 £7,350.00 £7,864.50 £8,572.31 3 4
C £7,200.00 £7,560.00 £8,089.20 £8,817.23 4 5
E £7,500.00 £7,875.00 £8,426.25 £9,184.61
G £7,700.00 £8,085.00 £8,650.95 £9,429.54
I £8,100.00 £8,505.00 £9,100.35 £9,919.38
K £9,000.00 £9,450.00 £10,111.50 £11,021.54
M £10,000.00 £10,500.00 £11,235.00 £12,246.15

Employee Scale Year Salary
Joe A 2 formula here to calculate the salary based on year of service and
scale
Sue C 3
Dave J 1
Stu K 4
John L 3

I'd really appreciate someones kind help.
--
Cheers, VO

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default Another VLOOKUP Problem

I am curious... why the insistence on VLOOKUP?

At least now you have mastered INDEX/MATCH for future use.

"VivienW" wrote:

Again, thank you Sheeloo! Had a look and it helps to understand how INDEX
and MATCH work.
--
Cheers, V

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Another VLOOKUP Problem

.. does give the correct answer ...
.. I am delighted with your reply ..

... but, but you didn't click the YES button in that response ?

--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"VivienW" wrote:
Thank you Max, you're a star! This does give the correct answer and thank
you for the explanation :)

I am really looking for a simpler solution for a particular reason. I need
to use VLOOKUPs but not INDEX and MATCH. Sorry to seem ungrateful - I am
delighted with your reply.

--
Cheers, V


  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Another VLOOKUP Problem

It's for a qualification set syllabus.
--
Cheers, V


"Sheeloo" wrote:

I am curious... why the insistence on VLOOKUP?

At least now you have mastered INDEX/MATCH for future use.

"VivienW" wrote:

Again, thank you Sheeloo! Had a look and it helps to understand how INDEX
and MATCH work.
--
Cheers, V

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 Problem aftamath77 Excel Discussion (Misc queries) 7 November 17th 08 01:13 PM
VLOOKUP PROBLEM Gilbert Excel Discussion (Misc queries) 6 June 21st 06 09:53 PM
VLOOKUP problem with using a - MrSales Excel Worksheet Functions 3 May 31st 06 12:05 AM
Vlookup problem.. Neo1 Excel Worksheet Functions 5 March 16th 06 09:53 AM
VLookup Problem bwall Excel Discussion (Misc queries) 5 September 10th 05 12:15 AM


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

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"