paste VLOOKUP formula

1stNoobie

Board Regular
Joined
Jul 15, 2009
Messages
69
Hello,


I am using the following formula<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
=IF(C8=0,"",VLOOKUP(C8,F9:G28,2,0))<o:p></o:p>
When I copy the formula down to the next row the table array is changing as well as the rest of my values. <o:p></o:p>
So the next row will look like this
=IF(C9=0,"",VLOOKUP(C9,
F10:G29,2,0))<o:p></o:p>
But it should actually look like this<o:p></o:p>
=IF(C9=0,"",VLOOKUP(C9,F9:G28,2,0))<o:p></o:p>
Am I copying my formula wrong or what do I need to do to paste it without my table array changing?<o:p></o:p>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

swst

Board Regular
Joined
Jan 17, 2005
Messages
186
1stNoobie

Your range needs to be referenced

In your formula click on F9 then hit the function key F4
Do the same for G28

This will fix the range thats being looked up
Then copy the formula down

Steve
 
Upvote 0

pnafissi

New Member
Joined
Jun 20, 2015
Messages
1
change to absolute reference

$F$9:$G$28

I have tried both the range name and absolute ref but copy and paste still messes up the Vlookup. Here's my Vlookup formulas that I have tried:
=VLOOKUP(F3,ClockIn,2,FALSE)*Definitions!$B$5+VLOOKUP(G3,Organizing,2,FALSE)*Definitions!$F$5+VLOOKUP(H3,Reporting,2,FALSE)*Definitions!$J$5+VLOOKUP(E3,Misconduct,2,FALSE)*Definitions!$N$5
=VLOOKUP(F3,Definitions!$A$6:$B$10,2,FALSE)*Definitions!$B$5+VLOOKUP(G3,Definitions!$E$6:$F$10,2,FALSE)*Definitions!$F$5+VLOOKUP(H3,Definitions!$I$6:$J$10,2,FALSE)*Definitions!$J$5+VLOOKUP(E3,Definitions!$M$6:$N$10,2,FALSE)*Definitions!$N$5
 
Upvote 0

Forum statistics

Threads
1,186,732
Messages
5,959,432
Members
438,424
Latest member
TheHank

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
Top