Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
cardingtr
 
Posts: n/a
Default How to quickly paste almost same formula to set rows?


Let's say I have a long formula I don't want to rewrite on each cell.
I want to paste it to other cells but also the formula should change to
reflect its new location.

Heres the formula:
=(B3="mild")*1+(B3="moderate")*2+(B3="mod-severe")*3+(B3="severe")*4+(B3="intolerable")*5

The above formula is in C3 referring to B3.

I want to paste it down starting in C4 but how will the fomula
automatically change from B3 to B4, B5, B6.....without typing it
manually?

Thanks.


--
cardingtr
------------------------------------------------------------------------
cardingtr's Profile: http://www.excelforum.com/member.php...o&userid=27027
View this thread: http://www.excelforum.com/showthread...hreadid=514167

  #3   Report Post  
Posted to microsoft.public.excel.misc
Ken Johnson
 
Posts: n/a
Default How to quickly paste almost same formula to set rows?

Hi,
another way is single click on C3, then while holding down the Shift
key single click on the lowest column C cell that you want to have your
formula, then press Ctrl + the d key to fill down your formula.
If Don's way did not work then the "Allow cell drag and drop" option is
probably unchecked. ToolsOptionsEdit then click on "Allow cell drag
and drop" will turn it back on.
Another shortcut is to double click the fill handle. Excel detects the
values in column B and fills your formula down as far as the column B
values.

Ken Johnson

  #4   Report Post  
Posted to microsoft.public.excel.misc
David McRitchie
 
Posts: n/a
Default How to quickly paste almost same formula to set rows?

Or you can select the cells in the address box C3:C200
before using Ctrl+D with the formula in C3.


More on use of fill handle and similar mouse and keyboard shortcuts.
http://www.mvps.org/dmcritchie/excel/fillhand.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Ken Johnson" wrote ...
Hi,
another way is single click on C3, then while holding down the Shift
key single click on the lowest column C cell that you want to have your
formula, then press Ctrl + the d key to fill down your formula.
If Don's way did not work then the "Allow cell drag and drop" option is
probably unchecked. ToolsOptionsEdit then click on "Allow cell drag
and drop" will turn it back on.
Another shortcut is to double click the fill handle. Excel detects the
values in column B and fills your formula down as far as the column B
values.

Ken Johnson



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
Insert rows based on specific value bob Excel Worksheet Functions 6 February 29th 08 07:11 PM
paste excel sheet excluding hidden rows Bernie Excel Discussion (Misc queries) 3 March 5th 06 02:17 PM
Effective method to paste array formula kuansheng Excel Worksheet Functions 2 February 2nd 06 12:47 AM
Copy and paste only the rows with subtotals achidsey Excel Discussion (Misc queries) 3 August 29th 05 10:00 PM
Paste is is copying in formula, but display is wrong. Matt Excel Worksheet Functions 2 December 7th 04 08:37 PM


All times are GMT +1. The time now is 03:38 AM.

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

About Us

"It's about Microsoft Excel"