Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default INDEX and sum

I have a table of products in rows against years in columns with revenues in
the data array. I want to sum revenues for a 'x' year period starting at 'y'
year for product 'p' on a separate worksheet. So it's a 2D lookup.

Following useful tips from the community I was able to find the revenue for
'y' year for product 'p', using INDEX:
=INDEX('new product sales'!$A$1:$P$603,MATCH($C14,'new product
sales'!$A$1:$A$603,0),MATCH($Q$2,'new product sales'!$A$1:$P$1,0))
- where $C14 gives the product name and $Q$2 shows the year to look up.

I was even able to find the decrement figures 3 rows down using offset:
=OFFSET(INDEX('new product sales'!$A$1:$P$603,MATCH($C14,'new product
sales'!$A$1:$A$603,0),MATCH($Q$2,'new product sales'!$A$1:$P$1,0)),3,0)

but I couldn't make the summation to variable numbers of years across.

I had thought that I might be able to use the ADDRESS function and then sum
the range, but I couldn't find a way that would work.

Any suggestions ? I couldn't see this question asked previously ...



 
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
Help with: INDEX() / MOD ? Nastech Excel Discussion (Misc queries) 11 October 19th 08 04:49 AM
Index... Dave Excel Worksheet Functions 10 June 8th 08 06:31 AM
Chart axes color index vs font color index [email protected] Charts and Charting in Excel 4 December 7th 06 04:05 PM
How do I pull the col. index value as well as row index value Vikram Dhemare Excel Discussion (Misc queries) 1 March 29th 06 07:48 AM
Using INDEX & AND Joe Gieder Excel Worksheet Functions 0 February 24th 05 02:43 PM


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