Repeating formula in other cells

steve3730

New Member
Joined
Nov 30, 2016
Messages
22
I have the below formula in my excel file and I have the formula repeating down. When I drag it down B21 changes to B22,B23,B24 etc and that is exactly what I want it to do, but D6 I want to stay the same the whole way. But when I drag it it changes to D7,D8,D9 etc. How can I repeat the formula have the B21 change but not the D6?

=IFERROR(VLOOKUP($B21,CHOOSE(D6,'100'!$A$2:$D$21471,'1400'!$A$2:$E$21471),3,0),"")

Thanks for the help
-Steve
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Make it absolute:

=IFERROR(VLOOKUP($B21,CHOOSE($D$6,'100'!$A$2:$D$21471,'1400'!$A$2:$E$21471),3,0),"")
 
Upvote 0
Thanks guys! Knew it was going to be something simple but was having trouble finding the answer on google
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,141
Members
449,066
Latest member
Andyg666

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