Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hdf hdf is offline
external usenet poster
 
Posts: 30
Default Can you subtotal data in rows?

Spiky,
No the Subtotal function has not changed in Excel 2007, it still
doesn't handle horizontal ranges (for the life of me I can't figure
out why they don't have this option).

Thanks for the suggestions, I don't have a problem with the manual
calc since the spreadsheet is set up that way anyway. I will look for
the external UDF and see if that works - otherwise, and unless someone
comes up with a better solution, I may just find myself having to
create an additional table where I transpose the data to a vertical
orientation and use Subtotal and then bring the value back to the
horizontal table. Rather a long way around what should be a fairly
easy problem to solve.

Your other suggestion using CELL is no-go, too many columns (over 50).

Again, thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Can you subtotal data in rows?

hdf wrote:
Spiky,
No the Subtotal function has not changed in Excel 2007, it still
doesn't handle horizontal ranges (for the life of me I can't figure
out why they don't have this option).

Thanks for the suggestions, I don't have a problem with the manual
calc since the spreadsheet is set up that way anyway. I will look for
the external UDF and see if that works - otherwise, and unless someone
comes up with a better solution, I may just find myself having to
create an additional table where I transpose the data to a vertical
orientation and use Subtotal and then bring the value back to the
horizontal table. Rather a long way around what should be a fairly
easy problem to solve.

Your other suggestion using CELL is no-go, too many columns (over 50).

Again, thanks.


Use a "helper row". Put

=CELL("width")

in each cell in an unused row on this sheet

- or -

put

=CELL("width",Your_Sheet!A1)

in A1 on an unused sheet in the same workbook and copy across as needed.


Then you can use a Sum/If array formula like the following (assuming your data
is in B2:I2):

{=SUM(IF(B1:I10,B2:I2,0))}

- or -

{=SUM(IF(Helper_Sheet!B1:I10,B2:I2,0))}
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
Multiple subtotal rows smartgal Excel Discussion (Misc queries) 1 July 29th 08 04:42 PM
Auto subtotal every 100 rows Tiffany Excel Discussion (Misc queries) 3 June 20th 07 01:39 PM
Collapsing Subtotal Rows Gear$Head Excel Discussion (Misc queries) 0 February 24th 07 05:07 PM
Excel - copy subtotal rows only Russ Excel Discussion (Misc queries) 1 September 14th 05 10:50 PM
using SUBTOTAL() on rows that have been hidden doco Excel Worksheet Functions 2 June 7th 05 07:18 PM


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