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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,632
Messages
6,120,652
Members
448,975
Latest member
sweeberry

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