Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default auto formula when insert new row

I have a simple sheet:
A | B | C
1: 5 | 4 | =A1+B1
2: 5 | 4 | =A2+B2
3: 5 | 4 | =A3+B3


when i insert a row before line no 2.
A | B | C
1: 5 | 4 | =A1+B1
2:
3: 5 | 4 | =A3+B3
4: 5 | 4 | =A4+B4

i want C2 have formula: =A2+B2 automatically. but i can't.
please tell me how to make it?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 168
Default auto formula when insert new row

If you have Excel 2003, highlight all your data and go to Data | List |
Create List. Excel 2003's built-in List feature carries the formulas and
formatting automatically to new data.
When you need to insert (using your example), you don't actually click the
"2"...instead, you position your cursor on the right edge of the 2 and then
right click from there. The List menu options appear, and one is to
InsertRow.
Earlier versions of Excel do not have this feature, though.
-KC
--
Please remember to indicate when the post is answered so others can benefit
from it later.


"Quan Nguyen" wrote:

I have a simple sheet:
A | B | C
1: 5 | 4 | =A1+B1
2: 5 | 4 | =A2+B2
3: 5 | 4 | =A3+B3


when i insert a row before line no 2.
A | B | C
1: 5 | 4 | =A1+B1
2:
3: 5 | 4 | =A3+B3
4: 5 | 4 | =A4+B4

i want C2 have formula: =A2+B2 automatically. but i can't.
please tell me how to make it?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default auto formula when insert new row

You may want to try
Tools|Options|Extend data range formats and formulas

But that has never worked the way I expected (for me). I turn that setting
off. I don't understand the rules that it uses. I always copy and paste.

If you want a macro that may do what you want, visit David McRitchie's site:
http://www.mvps.org/dmcritchie/excel/insrtrow.htm
look for: InsertRowsAndFillFormulas

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Quan Nguyen wrote:

I have a simple sheet:
A | B | C
1: 5 | 4 | =A1+B1
2: 5 | 4 | =A2+B2
3: 5 | 4 | =A3+B3

when i insert a row before line no 2.
A | B | C
1: 5 | 4 | =A1+B1
2:
3: 5 | 4 | =A3+B3
4: 5 | 4 | =A4+B4

i want C2 have formula: =A2+B2 automatically. but i can't.
please tell me how to make it?


--

Dave Peterson
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
auto insert jason2444 Excel Discussion (Misc queries) 2 January 3rd 07 07:36 PM
Can I auto insert a worksheet when I insert a value in a cell. iainc Excel Worksheet Functions 0 April 27th 06 08:37 AM
Auto Insert/Auto Formula? Abacus Excel Worksheet Functions 1 February 3rd 06 11:33 AM
AUTO INSERT A COLUMN'S FORMULA IN MANUALLY INSERTED ROWS JLah Excel Worksheet Functions 0 January 20th 06 03:10 PM
auto row insert Tsurphr Excel Worksheet Functions 0 October 11th 05 02:27 PM


All times are GMT +1. The time now is 04:24 PM.

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"