Heavynbound
New Member
We just migrated to Excel 2010 and I cannot no longer drag my original formula horizontally across rows and get values. I keep getting an N/A# or REF #. My workbook have employee ID number, and I do a vlookup by employee ID number to get their monthly costs incurred.
For example:
Apr May Jun Jul Aug
EMPLOYEE ID
1111
2222
3333
4444
Say, i do a vlookup for employee 1111 to get his July costs. The costs are in another worksheet. The vlookup formula works fine for the Apr costs but when I try to drag the formula to get the values for May through Aug I get N/A# but the worksheet does have their costs. The formula I ma using is =VLOOKUP($A1,'Pivot-DL$'!$A:$L,3,FALSE)
$A1 = Employee ID number
'Pivot-DL$'!$A:$L = worksheet that has the employee costs by month
3 = column that has the employee costs for April which is the first month I need
FALSE = exact match
If I drag this vormula vertical, it works fine for all the months needed but if I drag it across horizontally (which is what I need for the months), it will no longer work. I used this all the time in Excel 2007 but it will not work in Excel 2010.
Please help! thanks in advance.
BTW, I tried hlookup and that did not work.
For example:
Apr May Jun Jul Aug
EMPLOYEE ID
1111
2222
3333
4444
Say, i do a vlookup for employee 1111 to get his July costs. The costs are in another worksheet. The vlookup formula works fine for the Apr costs but when I try to drag the formula to get the values for May through Aug I get N/A# but the worksheet does have their costs. The formula I ma using is =VLOOKUP($A1,'Pivot-DL$'!$A:$L,3,FALSE)
$A1 = Employee ID number
'Pivot-DL$'!$A:$L = worksheet that has the employee costs by month
3 = column that has the employee costs for April which is the first month I need
FALSE = exact match
If I drag this vormula vertical, it works fine for all the months needed but if I drag it across horizontally (which is what I need for the months), it will no longer work. I used this all the time in Excel 2007 but it will not work in Excel 2010.
Please help! thanks in advance.
BTW, I tried hlookup and that did not work.