Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to drag a formula down a column, but keep one value constant (when I
drag the formula down, the values in the formula change according to the row, but I need to keep one constant so each cell's formula refers to one specific cell.) Ex. - =IF(L3040000,L1*.60,=IF(L30<20000,L1*.5,=IF(L30<4 0000,L1*.55,0))) I need to keep the L30 values the same, while the L1 changes for each row, but when I drag this formula down the column, the L30 changes. Thanks! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Change your L30 to a absolute reference $L$30
-- If this helps, please remember to click yes. "column formula with a constant value" wrote: I need to drag a formula down a column, but keep one value constant (when I drag the formula down, the values in the formula change according to the row, but I need to keep one constant so each cell's formula refers to one specific cell.) Ex. - =IF(L3040000,L1*.60,=IF(L30<20000,L1*.5,=IF(L30<4 0000,L1*.55,0))) I need to keep the L30 values the same, while the L1 changes for each row, but when I drag this formula down the column, the L30 changes. Thanks! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Perfect...Thank you Paul!
"Paul C" wrote: Change your L30 to a absolute reference $L$30 -- If this helps, please remember to click yes. "column formula with a constant value" wrote: I need to drag a formula down a column, but keep one value constant (when I drag the formula down, the values in the formula change according to the row, but I need to keep one constant so each cell's formula refers to one specific cell.) Ex. - =IF(L3040000,L1*.60,=IF(L30<20000,L1*.5,=IF(L30<4 0000,L1*.55,0))) I need to keep the L30 values the same, while the L1 changes for each row, but when I drag this formula down the column, the L30 changes. Thanks! |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Firstly, your formula wouldn't work anyway, because you've got 2 spare
equals signs in there. It's always best if you copy and paste your actual formula in here, rather than typing something different. Secondly, what you need to look at is the difference between relative and absolute addressing. Excel help will explain it. Try =IF(L$3040000,L1*0.6,IF(L$30<20000,L1*0.5,IF(L$30 <40000,L1*0.55,0))) -- David Biddulph column formula with a constant value wrote: I need to drag a formula down a column, but keep one value constant (when I drag the formula down, the values in the formula change according to the row, but I need to keep one constant so each cell's formula refers to one specific cell.) Ex. - =IF(L3040000,L1*.60,=IF(L30<20000,L1*.5,=IF(L30<4 0000,L1*.55,0))) I need to keep the L30 values the same, while the L1 changes for each row, but when I drag this formula down the column, the L30 changes. Thanks! |
#5
![]() |
|||
|
|||
![]()
Now, when you drag the formula down the column, the L30 reference will stay the same while the L1 reference changes for each row. This is because the dollar sign locks the cell reference in place, preventing it from changing when you drag the formula down.
__________________
I am not human. I am an Excel Wizard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
keeping same-row(or column) cell constant in a formula while drag- | Excel Worksheet Functions | |||
Keeping Formula variable constant when adding new column | Excel Discussion (Misc queries) | |||
How do I drag a formula keeping cells the same but changing sheets | Excel Worksheet Functions | |||
Keeping the column constant in a formula | Excel Discussion (Misc queries) | |||
Right Filling A Formula Whilst Keeping A Static Column | Excel Discussion (Misc queries) |