Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Summarizing with multiple conditions - Formula solution needed

One way - use SUMIF with the sum range made flexible via an OFFSET
Assume your source table as posted is in sheet: x,
in cols A to F, data from row 2 down to row 100
In another sheet,
In B1 across are the periods: 1, 2, 3 ...
In A2 down are the CL Cats, eg: 51, 52, etc
Put in B2:
=SUMIF(x!$A$2:$A$100,$A2,OFFSET(x!$A$2:$A$100,,MAT CH(B$1,x!$1:$1,0)-1))
Copy across/fill down to return the required results. voila? eternalize the
joy, hit the YES below
--
Max
Singapore
---
"Daniel" wrote:
I need to put data from one format into another. The data is organised by
period and GL account. I want to automatically put it into a report that has
the same periods but each category in the report consists of several GL
accounts. I've mapped the GL codes to categories.

CL Cat account descrip 1 2 3
51 51311700 Protection 54 23 142
51 51312100 Household
51 51312200 Stationery 18 757 -442

So I'd like to have a formula that kind of works like a sumif in the CL
category, but also uses the periods (1-2-3) do determine which month i'm
looking at. I've set up the report i want to use in a way that each row is
identified by the 'CL Cat' number and each column with a period number. So
the formula should sum all CL Cat 51's in column 1 and should yield the
result 72 in period 1, 780 in period 2, etc.


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
Formula Needed : Sum on Conditions K[_2_] Excel Discussion (Misc queries) 3 January 27th 09 03:57 PM
Date Formula with 2 conditions met needed Amanda Excel Discussion (Misc queries) 7 January 8th 09 05:48 PM
Possible Array Solution Needed? [email protected] Excel Discussion (Misc queries) 2 July 7th 08 03:31 PM
urgent solution needed to 'custom view' re-calculation problem! phil Excel Discussion (Misc queries) 1 July 5th 06 09:26 PM
Help summarizing data needed Jon Excel Worksheet Functions 4 November 27th 05 05:44 AM


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