Eliminated Helper Row

ron.bo

Board Regular
Joined
Mar 15, 2011
Messages
129
Office Version
  1. 2007
Platform
  1. Windows
I am trying to get a formula that will eliminate the helper row. Each week I need how much salaries increased over last week. I have the Id, Position and Salary. It is easy with the helper column "idposition" column 3. I would like to get a formula that would by bass the helper column. Right now the formula I have in column K is =VLOOKUP(I7,I:J,2,0)-VLOOKUP(I7,D:E,2,0).

Thanks for any help
Ronbo

PS. I can not just sum salaries and subtract.

B C D E F G H I J K
1678211628235.png





B C D E F G H I J K
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
try this:
mr excel questions 13.xlsm
BCDEFGHIJK
1
2Week 1Week 2
3idpositionidpositionsalaryid
41a600001a600000
52b601002b601000
63c602003c6025555
74d603004d603000
85e604005e604000
96f605006f605000
107d606007d606000
118c607008c6075555
12
Sheet4
Cell Formulas
RangeFormula
K4:K11K4=I4-INDEX($E$4:$E$11,MATCH(G4&H4,$B$4:$B$11&$C$4:$C$11,0))
 
Upvote 0
Thanks for your help. I have not been on the board for sometime, so I will get the add-in. I apologize for the poor post. You have perfectly reconstructed my data and your formula is perfect... but it gives me a #VALUE error. In thoughts on why I am getting this error.

Thanks for your patience and help.
Ron
 
Upvote 0
Upvote 0
The problem is that I have one more column than you. My week two salary is in column J yours in I. So that is why it is not working. I changed it to this =J4-INDEX($E$4:$E$11,MATCH(G4&H4,$B$4:$B$11&$C$4:$C$11,0)) and it sure looks like it should work but I still get the #VALUE error.

Thanks,
Ron
 
Upvote 0
either K or L should work for you:
Book1
BCDEFGHIJKL
1Week 1Week 2
2idpositionidpositionsalaryidpositionidpositionsalary
3 
41a1a600001a1a6000000
52b2b601002b2b6010000
63c3c602003c3c602555555
74d4d603004d4d6030000
85e5e604005e5e6040000
96f6f605006f6f6050000
107d7d606007d7d6060000
118c8c607008c8c607555555
Sheet2
Cell Formulas
RangeFormula
D2,I2:I11,D4:D11D2=+B2&C2
K4:K10K4=J4-INDEX($E$4:$E$10,MATCH(G4&H4,$B$4:$B$10&$C$4:$C$10,0))
L4:L11L4=J4-INDEX(E:E,MATCH(G4&H4,B:B&C:C,0))
K11K11=J11-INDEX($E$4:$E$11,MATCH(G11&H11,$B$4:$B$11&$C$4:$C$11,0))
E5:E10E5=+E4+100
 
Upvote 0
Thanks for your help. I have not been on the board for sometime, so I will get the add-in. I apologize for the poor post. You have perfectly reconstructed my data and your formula is perfect... but it gives me a #VALUE error. In thoughts on why I am getting this error.

Thanks for your patience and help.
Ron
Sometimes text values get non printing characters when you paste from this webpage. You just need to clean up the data if you are using my copied data. If you use the formulas on the data already in your workbook they should work.

do some comparison and length statments on columns B,C,G,&H to make sure B = G, and C = H.
 
Last edited:
Upvote 0
It is totally weird. It does not work for me in 2007, which has nothing to to with it. I found it works as an array.

Thanks,
ROn
 
Upvote 0
by array, do you mean entering hte formula with CTRL-SHFT-ENTER ?
 
Upvote 0
It is totally weird. It does not work for me in 2007, which has nothing to to with it. I found it works as an array.

Thanks,
ROn
please update your profile to show what version of excel you use. 2007 doesn't have many features of 2010 and up.
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,739
Members
449,050
Latest member
excelknuckles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top