Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Conditional SUM of column values depending on the heading (month)

Use Match to find the matching month and offset to define the range...
Something like this... Not it adds the first 10,000 rows. Set the value to
suit...

=SUM(OFFSET($J$6,0,0,10000,MATCH($B$1, $J$5:$U$5, 0)))
--
HTH...

Jim Thomlinson


"Pat Rob" wrote:

Hey all you EXCEL wizards! Can you please help?

I'm collecting performance metrics by month, each metric in a row. I'd like
to put a cell in the top of the page that would allow the user to pick the
month from a validation list that is tied to the column headings (month names
in row 5, columns J through U).

When the user defines what month it is by choosing from the list, I would
like a "year to date" column to add the correct number of columns for a YTD
total, i.e. if March were chosen, the sum of J, K, and L would be shown in
the YTD cell.

Any ideas? Thanks for the help.
--
Pat Rob

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
Summing values in a column if the date in another is of a certain month Harvey Coward Excel Discussion (Misc queries) 3 December 4th 07 01:55 PM
Summing values in a column if the date in another is of a certain month Harvey Coward New Users to Excel 3 December 4th 07 01:55 PM
Summing values in a column if the date in another is of a certain month Harvey Coward Excel Worksheet Functions 3 December 4th 07 01:55 PM
Sum values depending in values next column luiss Excel Discussion (Misc queries) 4 July 7th 06 05:30 AM
In a table produce an value by column heading and row heading naflan Excel Worksheet Functions 1 December 27th 05 05:18 PM


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