Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default inserting a row

I would like to have the user be able to insert a row depending on ho
many revenue categories there are for a particular company

Revenue
Revenue #1
Revenue #2
Total Revenue (sum Rev1 & Rev2)

If there were three Revenue sources I would like to have a button tha
would allow "Revenue #3" to be inserted and the "sum" formula change a
well.

Any suggestions??

Thanks

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default inserting a row

Instead of this sum formula:
=SUM(A1:A2). use
=SUM(A1:INDEX(A:A,ROW()-1))
then, when the user inserts a row it won't matter, because the formula
refers to THE ROW ABOVE IT.

"bforster1 " wrote:

I would like to have the user be able to insert a row depending on how
many revenue categories there are for a particular company

Revenue
Revenue #1
Revenue #2
Total Revenue (sum Rev1 & Rev2)

If there were three Revenue sources I would like to have a button that
would allow "Revenue #3" to be inserted and the "sum" formula change as
well.

Any suggestions??

Thanks.


---
Message posted from http://www.ExcelForum.com/


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
inserting row GARY Excel Discussion (Misc queries) 3 April 28th 08 11:26 AM
Inserting? SteveB Excel Discussion (Misc queries) 1 May 18th 07 05:16 AM
Inserting row umba-sr Excel Discussion (Misc queries) 3 April 13th 06 03:56 PM
Inserting zero ananga Excel Discussion (Misc queries) 2 July 1st 05 05:41 PM
Inserting a row Sheeny[_15_] Excel Programming 10 May 26th 04 03:53 PM


All times are GMT +1. The time now is 04:11 AM.

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"