LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Sum columns dynamically

Hi,

I have a table as follows:

A1 A2 A3 A4 A5 A6 A7 A8 A9
Description M-6 M-5 M-4 M-3 M-2 M-1 M1 M2 etc etc
A 1 2 3 4 5 6 7 8
j 5 6 7 8 9 10 11 12
v 4 5 0 0 0 0 5 6
etc

Description M-2 M-1 M1 M2 M3 M4 M5 M6 etc etc
hhg 1 2 3 4 5 6 7 8
ert 5 6 7 8 9 10 11 12
pdr 4 5 0 0 0 0 5 6
etc


This table is populated from different sources (via VBA), but will always
have headings. The problem is, the headings my vary eg one table may have
M-1 M1 M2 M3 to M120 another may be as above, but the descrpition (and
therefore the table) will always start in Column A.

I now need to map this to a different table with any value that is contained
in M-6 M-5 M-4 M-3 M-2 M-1 summed in one column in the new table. The
items in the description column are all variable etc.

Does anyone have any ideas??
 
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
How do I sort the data in 8 columns by two of the columns? Sorting Excel Worksheet Functions 1 October 25th 05 03:57 PM
How to swap rows and columns? [email protected] Excel Discussion (Misc queries) 5 September 21st 05 08:07 AM
Clearing information in certain columns jolly_lolly Excel Discussion (Misc queries) 1 April 22nd 05 02:41 AM
Hiding columns and custom views problem Bettergains Excel Discussion (Misc queries) 2 April 12th 05 11:48 PM
Removing Near-Duplicate Rows, Leaving Those w/Most Data in Specific Columns foofoo Excel Discussion (Misc queries) 1 April 2nd 05 12:02 AM


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