How to keep one variable in a formula static

AdamW328

New Member
Joined
Oct 29, 2015
Messages
34
Hi, how can I keep one variable in an excel formula static? For example, using the following formula, I want B1 to remain the same for the formula when I drag it down the column it is placed in

Formula:

=(B1/A2)/100

Then I want to be able to drag down the formula in column B so it would copy like this so only the "A" variable is changing:

=(B1/A2)/100
=(B1/A3)/100
=(B1/A4)/100
=(B1/A5)/100
etc
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi, how can I keep one variable in an excel formula static? For example, using the following formula, I want B1 to remain the same for the formula when I drag it down the column it is placed in

Formula:

=(B1/A2)/100

Then I want to be able to drag down the formula in column B so it would copy like this so only the "A" variable is changing:

=(B1/A2)/100
=(B1/A3)/100
=(B1/A4)/100
=(B1/A5)/100
etc

Place a $ sign in front of the part you don't want to change (that makes that part of the address absolute instead of relative). In this case, it is the 1 in B1...

=(B$1/A2)/100
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,954
Messages
6,175,601
Members
452,658
Latest member
GStorm

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