Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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!
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: drag a formula downa column keeping one value the same?

  1. Click on the cell containing the formula you want to drag down.
  2. Click on the cell reference you want to keep constant (in this case, $L$30).
  3. Type a dollar sign ($) before the column letter and row number, like this: $L$30.
  4. Press Enter to lock the cell reference.
  5. Click on the cell containing the formula again.
  6. Hover your mouse over the bottom right corner of the cell until you see a small black cross.
  7. Click and drag the cross down the column to fill the formula into the cells below.

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
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 269
Default 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!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default 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!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
keeping same-row(or column) cell constant in a formula while drag- Mehrdad Excel Worksheet Functions 2 July 12th 09 09:41 PM
Keeping Formula variable constant when adding new column Marissa Excel Discussion (Misc queries) 2 March 5th 09 10:04 PM
How do I drag a formula keeping cells the same but changing sheets Claire Excel Worksheet Functions 2 October 30th 07 01:16 PM
Keeping the column constant in a formula Arithmetic functions with embedded text[_2_] Excel Discussion (Misc queries) 4 June 11th 07 03:31 PM
Right Filling A Formula Whilst Keeping A Static Column kevtherev Excel Discussion (Misc queries) 4 September 29th 05 10:18 PM


All times are GMT +1. The time now is 05:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"