![]() |
drag a formula downa column keeping one value the same?
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! |
Answer: drag a formula downa column keeping one value the same?
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. |
drag a formula downa column keeping one value the same?
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! |
drag a formula downa column keeping one value the same?
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! |
drag a formula downa column keeping one value the same?
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! |
All times are GMT +1. The time now is 03:35 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com