Remember Me?

 Frank Kabel Posts: n/a 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

 HGood Posts: n/a 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

 Thread Tools Search this Thread Show Printable Version Search this Thread: Advanced Search Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Similar Threads Thread Thread Starter Forum Replies Last Post Ken Excel Discussion (Misc queries) 6 December 16th 04 11:23 PM Spunky Excel Discussion (Misc queries) 9 December 3rd 04 07:07 PM ber_harris Excel Discussion (Misc queries) 5 December 1st 04 11:57 PM

All times are GMT +1. The time now is 04:57 PM. Copyright ©2004-2019 ExcelBanter.