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: 4
Default Sum of subset of an array

Hi,

I have a worksheet with monthly sales figures on it. The first column
contains the sales person and the first row contains the sales period.
What I need is a formula that can select a row based on the sales person
name and select a subset of columns based on a period range and produce the
sum of the values.
I'm looking at SUM, SUMIF, INDEX and MATCH but can't quite figure out how to
organise them to provide the desired result.

I've got as far as this, which will return the value of the correct row in
the first column. Is there some way to return a cell reference instead so
that I could slot it into a SUM function?

=INDEX('Sales Data'!$B$4:$AL$162, MATCH($J$5, 'Sales Data'!$B$4:$B$162, 0),
MATCH("P1", 'Sales Data'!$B$4:$AL$142, 0))


 
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
IRR on conditional subset of cashflows Schwartz Excel Worksheet Functions 0 May 16th 08 01:31 PM
Database Subset in Tabs? David L. New Users to Excel 4 February 8th 08 10:06 PM
Populate an array that is a subset of a larger array? Jeff Excel Worksheet Functions 1 September 25th 07 12:51 AM
Populating a subset Will Excel Worksheet Functions 0 November 29th 06 02:09 PM
How to enter symbols for subset or element of a subset in Excel? rwcita Excel Worksheet Functions 1 January 23rd 06 09:27 PM


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