Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Sumifs within Offset Match

Hi I need help!

I'm trying to create a sum formula using offset matches.

Essentially, I want avoid using sumifs since the columns could change order, but the headers will not change.

This data will feed into a template.
Example:
Category is column A, Sales is B, Cost is C and Units is C.
CATEGORY SALES COST UNITS
B
E
R
B
E
R

Category repeats throughout the data, but I might add additional metrics to the template and don't want to have to change the range of the sumif each time I modify the data or the report and would prefer to have the sum combined with a match formula.

Any help would be appreciated!
Let me know if clarification is needed.

Thanks!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Sumifs within Offset Match

Hi,

Am Fri, 11 Sep 2015 09:48:40 +0100 schrieb ITexcelNY:

Category is column A, Sales is B, Cost is C and Units is C.
CATEGORY SALES COST UNITS
B
E
R
B
E
R

Category repeats throughout the data, but I might add additional metrics
to the template and don't want to have to change the range of the sumif
each time I modify the data or the report and would prefer to have the
sum combined with a match formula.


For example: If you want to sum COST for each "B" in Category:
=SUMIFS(INDEX(A:D,,MATCH("COST",A1:D1,0)),A:A,"B")


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Sumifs within Offset Match

Hi,

Am Fri, 11 Sep 2015 10:58:26 +0200 schrieb Claus Busch:

For example: If you want to sum COST for each "B" in Category:
=SUMIFS(INDEX(A:D,,MATCH("COST",A1:D1,0)),A:A,"B")


or use a Pivot table.


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
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
match/Offset help jayklmno Excel Programming 0 November 4th 08 05:38 PM
match and offset Jaybird[_3_] Excel Programming 8 May 7th 08 04:50 PM
Match Offset by more than one value TomorrowsMan Excel Discussion (Misc queries) 4 October 20th 06 08:07 PM
Match Offset by more than one value TomorrowsMan Excel Worksheet Functions 4 October 20th 06 08:07 PM
Using Match & Offset longhorn14 Excel Worksheet Functions 4 April 14th 06 07:38 PM


All times are GMT +1. The time now is 07:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"