#1   Report Post  
Old December 15th 04, 09:54 PM
Frank Kabel
 
Posts: n/a
Default

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

--
Regards
Frank Kabel
Frankfurt, Germany
"HGood" schrieb im Newsbeitrag
...
Hi,

I'm designing a Expense Journal entry form. It has various columns as
ranges which are named. In the data entry sheet, the named columns
affecting this question are
Project (e.g. 064, 155, etc)
Account (e.g. Equipment, Travel, etc)
Amount (e.g. $233.23, etc)

In a separate, adjacent table with 20 official account categories in one
column (named Categories), and five "Project" numbers in the next five
columns, I'm trying to sum all the Amounts which match the Account and put
the Account Category sum into the respective Project column.

My understanding is that Sumif can only be used with only a single
comparison criterion, but I have two. So it seems I need to use the Sum
array.
where L4 is the first of the 20 account categories in the account column
L, and N1 is the first of the five project columns.

The summary would occur to the right of the Categories column (in 20 rows)
and under the five respective Project columns.

The data I'm trying to summarize is about 50-100 lines of expenses that
get entered each month.

I've tried:

={SUM((Account=L4)*(Project=$N$1)*Amount)} and
={SUM((Account=L4:L23)*(Project=$N$1)*Amount)} and
={SUM((Account=Categories)*(Project=$N$1)*Amount)} but can't get any of
them to work

Any help would sure be appreciated.

Harold




  #2   Report Post  
Old December 15th 04, 09:56 PM
HGood
 
Posts: n/a
Default Sum or Sumif

Hi,

I'm designing a Expense Journal entry form. It has various columns as ranges
which are named. In the data entry sheet, the named columns affecting this
question are
Project (e.g. 064, 155, etc)
Account (e.g. Equipment, Travel, etc)
Amount (e.g. $233.23, etc)

In a separate, adjacent table with 20 official account categories in one
column (named Categories), and five "Project" numbers in the next five
columns, I'm trying to sum all the Amounts which match the Account and put
the Account Category sum into the respective Project column.

My understanding is that Sumif can only be used with only a single
comparison criterion, but I have two. So it seems I need to use the Sum
array.
where L4 is the first of the 20 account categories in the account column L,
and N1 is the first of the five project columns.

The summary would occur to the right of the Categories column (in 20 rows)
and under the five respective Project columns.

The data I'm trying to summarize is about 50-100 lines of expenses that get
entered each month.

I've tried:

={SUM((Account=L4)*(Project=$N$1)*Amount)} and
={SUM((Account=L4:L23)*(Project=$N$1)*Amount)} and
={SUM((Account=Categories)*(Project=$N$1)*Amount)} but can't get any of
them to work

Any help would sure be appreciated.

Harold




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
Sum(if ... multiple conditions ... Interpretation? Ken Excel Discussion (Misc queries) 6 December 16th 04 10:23 PM
sumif Spunky Excel Discussion (Misc queries) 9 December 3rd 04 06:07 PM
Sumif or if statements-Help! ber_harris Excel Discussion (Misc queries) 5 December 1st 04 10:57 PM


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

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017