Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Glenn
 
Posts: n/a
Default Creating Spreadsheet Calculations

Hello,

I know that I can add a series of columns or calculate the value of a row's
cell by
using simple formulas such as =SUM(A1:A50) or =(A1*A3).

I also know that expandable and collapsable categories can be used in Excel.

My question is the following. If I have the following spreadsheet and I
find myself continuing to add new rows of data within a category, I then need
to keep changing my category formula to include the extra row. Can this be
setup to be done automatically ?

A B
1 Category 1 $100
2 lights $60
3 camera $40
4 Category 2

Now I find myself needing to add another field as follows where cell B1 needs
to have its formula changed from =SUM(B2:B3) to =SUM(B2:B4)

A B
1 Category 1 $170
2 lights $60
3 camera $40
4 action $70
5 Category 2

Thanks in advance for any insight...

  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
it would be easier if you use 3 columns:
1. Category
2. Item
3. Value

and then use SUMIF or a pivot table

--
Regards
Frank Kabel
Frankfurt, Germany
"Glenn" schrieb im Newsbeitrag
...
Hello,

I know that I can add a series of columns or calculate the value of a
row's
cell by
using simple formulas such as =SUM(A1:A50) or =(A1*A3).

I also know that expandable and collapsable categories can be used in
Excel.

My question is the following. If I have the following spreadsheet and I
find myself continuing to add new rows of data within a category, I then
need
to keep changing my category formula to include the extra row. Can this
be
setup to be done automatically ?

A B
1 Category 1 $100
2 lights $60
3 camera $40
4 Category 2

Now I find myself needing to add another field as follows where cell B1
needs
to have its formula changed from =SUM(B2:B3) to =SUM(B2:B4)

A B
1 Category 1 $170
2 lights $60
3 camera $40
4 action $70
5 Category 2

Thanks in advance for any insight...



  #3   Report Post  
Art
 
Posts: n/a
Default

Another possibility (although it may be impractical for your application) is
to add the new values by inserting rows into the middle of the category,
rather than at the end. This should have the effect of expanding the formula.

Art
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
#REF error on linked spreadsheet Randy Rich Links and Linking in Excel 0 December 15th 04 09:21 PM
Excel Spreadsheet as an E-mail attachment Margie Excel Discussion (Misc queries) 2 December 9th 04 01:27 PM
I need to download an exel spreadsheet file. (file extension :xls) buckrogers Excel Discussion (Misc queries) 2 December 8th 04 11:08 PM
How do I cancel sending a spreadsheet by email? Cendra Excel Discussion (Misc queries) 3 December 2nd 04 09:55 PM
How do I feed info from invoice I created to a Spreadsheet cjtaylor1969 Excel Discussion (Misc queries) 3 December 1st 04 08:38 PM


All times are GMT +1. The time now is 05:33 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"