Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ian R
 
Posts: n/a
Default How to sum cross two categories?

I have a journal file and a ledger.
The journal contains expense category, date, value and is randomly sequenced.
The ledger is a rectangual array. Rows are expense categories, columns are
months. The leger cell for a given expense category / month is the sum of
journal entries with the given expense category and month. I have a feeling
that Is hould be able to use something like DSUM to do this, but I can't
figure it out. I'd appreciate suggestions! I daresay many people have done
this, so a reference to a solution would be fine. I don't, of course, have
money to solve the problem... or someone else would be doing it.

Thanks
--
Ian Rowlands
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
could you post some example data and based of this example data your
expected result

--
Regards
Frank Kabel
Frankfurt, Germany

"Ian R" schrieb im Newsbeitrag
...
I have a journal file and a ledger.
The journal contains expense category, date, value and is randomly

sequenced.
The ledger is a rectangual array. Rows are expense categories,

columns are
months. The leger cell for a given expense category / month is the

sum of
journal entries with the given expense category and month. I have a

feeling
that Is hould be able to use something like DSUM to do this, but I

can't
figure it out. I'd appreciate suggestions! I daresay many people have

done
this, so a reference to a solution would be fine. I don't, of course,

have
money to solve the problem... or someone else would be doing it.

Thanks
--
Ian Rowlands


  #3   Report Post  
Ian R
 
Posts: n/a
Default

Frank, thanks for taking a look. I hope this (simplified!) example helps. I
actually have 12 months (of course) and about 30 categories.

Journal

Amount Month Cat
5 1 Contract
7 2 Goods
8 1 Goods
9 3 Services
12 2 Services
15 3 Contract
11 1 Contract
17 3 Goods

Ledger

Month= 1 2 3
Cat
Contract 16 0 15
Goods 8 7 17
Services 0 12 9
"Frank Kabel" wrote:

Hi
could you post some example data and based of this example data your
expected result

--
Regards
Frank Kabel
Frankfurt, Germany

"Ian R" schrieb im Newsbeitrag
...
I have a journal file and a ledger.
The journal contains expense category, date, value and is randomly

sequenced.
The ledger is a rectangual array. Rows are expense categories,

columns are
months. The leger cell for a given expense category / month is the

sum of
journal entries with the given expense category and month. I have a

feeling
that Is hould be able to use something like DSUM to do this, but I

can't
figure it out. I'd appreciate suggestions! I daresay many people have

done
this, so a reference to a solution would be fine. I don't, of course,

have
money to solve the problem... or someone else would be doing it.

Thanks
--
Ian Rowlands



  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Head directly for Pivot Tables. Do not pass go, do not collect $200.

http://peltiertech.com/Excel/Pivots/pivotstart.htm

In article ,
"Ian R" wrote:

Frank, thanks for taking a look. I hope this (simplified!) example helps. I
actually have 12 months (of course) and about 30 categories.

Journal

Amount Month Cat
5 1 Contract
7 2 Goods
8 1 Goods
9 3 Services
12 2 Services
15 3 Contract
11 1 Contract
17 3 Goods

Ledger

Month= 1 2 3
Cat
Contract 16 0 15
Goods 8 7 17
Services 0 12 9
"Frank Kabel" wrote:

Hi
could you post some example data and based of this example data your
expected result

--
Regards
Frank Kabel
Frankfurt, Germany

"Ian R" schrieb im Newsbeitrag
...
I have a journal file and a ledger.
The journal contains expense category, date, value and is randomly

sequenced.
The ledger is a rectangual array. Rows are expense categories,

columns are
months. The leger cell for a given expense category / month is the

sum of
journal entries with the given expense category and month. I have a

feeling
that Is hould be able to use something like DSUM to do this, but I

can't
figure it out. I'd appreciate suggestions! I daresay many people have

done
this, so a reference to a solution would be fine. I don't, of course,

have
money to solve the problem... or someone else would be doing it.

Thanks
--
Ian Rowlands



  #5   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
use SUMPRODUCT. See:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
Regards
Frank Kabel
Frankfurt, Germany

"Ian R" schrieb im Newsbeitrag
...
Frank, thanks for taking a look. I hope this (simplified!) example

helps. I
actually have 12 months (of course) and about 30 categories.

Journal

Amount Month Cat
5 1 Contract
7 2 Goods
8 1 Goods
9 3 Services
12 2 Services
15 3 Contract
11 1 Contract
17 3 Goods

Ledger

Month= 1 2 3
Cat
Contract 16 0 15
Goods 8 7 17
Services 0 12 9
"Frank Kabel" wrote:

Hi
could you post some example data and based of this example data

your
expected result

--
Regards
Frank Kabel
Frankfurt, Germany

"Ian R" schrieb im Newsbeitrag
...
I have a journal file and a ledger.
The journal contains expense category, date, value and is

randomly
sequenced.
The ledger is a rectangual array. Rows are expense categories,

columns are
months. The leger cell for a given expense category / month is

the
sum of
journal entries with the given expense category and month. I have

a
feeling
that Is hould be able to use something like DSUM to do this, but

I
can't
figure it out. I'd appreciate suggestions! I daresay many people

have
done
this, so a reference to a solution would be fine. I don't, of

course,
have
money to solve the problem... or someone else would be doing it.

Thanks
--
Ian Rowlands






  #6   Report Post  
Ian R
 
Posts: n/a
Default

Frank,

That was the perfect answer. thank you so much.

"Frank Kabel" wrote:

Hi
use SUMPRODUCT. See:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
Regards
Frank Kabel
Frankfurt, Germany

"Ian R" schrieb im Newsbeitrag
...
Frank, thanks for taking a look. I hope this (simplified!) example

helps. I
actually have 12 months (of course) and about 30 categories.

Journal

Amount Month Cat
5 1 Contract
7 2 Goods
8 1 Goods
9 3 Services
12 2 Services
15 3 Contract
11 1 Contract
17 3 Goods

Ledger

Month= 1 2 3
Cat
Contract 16 0 15
Goods 8 7 17
Services 0 12 9
"Frank Kabel" wrote:

Hi
could you post some example data and based of this example data

your
expected result

--
Regards
Frank Kabel
Frankfurt, Germany

"Ian R" schrieb im Newsbeitrag
...
I have a journal file and a ledger.
The journal contains expense category, date, value and is

randomly
sequenced.
The ledger is a rectangual array. Rows are expense categories,
columns are
months. The leger cell for a given expense category / month is

the
sum of
journal entries with the given expense category and month. I have

a
feeling
that Is hould be able to use something like DSUM to do this, but

I
can't
figure it out. I'd appreciate suggestions! I daresay many people

have
done
this, so a reference to a solution would be fine. I don't, of

course,
have
money to solve the problem... or someone else would be doing it.

Thanks
--
Ian Rowlands




  #7   Report Post  
Ian R
 
Posts: n/a
Default

Thanks, I would normally have used Pivot tables but that would require my
untutored helper to update the table. Frank knabel has provided a solution
which is great for me. I appreciate your taking the time to assist, however.

"JE McGimpsey" wrote:

Head directly for Pivot Tables. Do not pass go, do not collect $200.

http://peltiertech.com/Excel/Pivots/pivotstart.htm

In article ,
"Ian R" wrote:

Frank, thanks for taking a look. I hope this (simplified!) example helps. I
actually have 12 months (of course) and about 30 categories.

Journal

Amount Month Cat
5 1 Contract
7 2 Goods
8 1 Goods
9 3 Services
12 2 Services
15 3 Contract
11 1 Contract
17 3 Goods

Ledger

Month= 1 2 3
Cat
Contract 16 0 15
Goods 8 7 17
Services 0 12 9
"Frank Kabel" wrote:

Hi
could you post some example data and based of this example data your
expected result

--
Regards
Frank Kabel
Frankfurt, Germany

"Ian R" schrieb im Newsbeitrag
...
I have a journal file and a ledger.
The journal contains expense category, date, value and is randomly
sequenced.
The ledger is a rectangual array. Rows are expense categories,
columns are
months. The leger cell for a given expense category / month is the
sum of
journal entries with the given expense category and month. I have a
feeling
that Is hould be able to use something like DSUM to do this, but I
can't
figure it out. I'd appreciate suggestions! I daresay many people have
done
this, so a reference to a solution would be fine. I don't, of course,
have
money to solve the problem... or someone else would be doing it.

Thanks
--
Ian Rowlands



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
A budget where receipts are typed in under categories and added f. budget question Excel Discussion (Misc queries) 2 December 27th 04 10:07 PM
cross referancing Chris the man form socail services Excel Discussion (Misc queries) 1 December 6th 04 04:51 PM
How I can add categories in a pivot table? Todd L. Excel Worksheet Functions 0 December 1st 04 05:19 AM
How do I find a cross reference value Jo Davis Excel Discussion (Misc queries) 2 November 30th 04 12:56 PM
Excel-value in a range of cells for two cross references K.S.Warrier Excel Worksheet Functions 2 November 2nd 04 08:24 AM


All times are GMT +1. The time now is 12:08 AM.

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"