Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default how can i count multiple variables in multiple columns?

I am using Excel 2003.
I have a list of three people entering order data. These data are each
identified with a unique Order Serial Number.
These Serial Numbered Orders have 4 Category Classifications.
The data entries are listed in three separate columns. (equals 1 column
group).
These 3 column groups repeat 5 times in the spreadsheet.
I want to count the number of serial numbers entered by each person and by
each category, across the entire 5 column groups.

The people a C, M, & S.

The categories a C, D, N, U.

The order of entry is: Serial Number, Category, Person.

The Summary, by person, shows the total count of each Serial Number entered,
and total the count of each Swerial Number Category.

Summary example:

Person category Qty formula

S C 5 1a
S D 78 1b
S N 114 1c
S U 88 1d

C C 91 2a
C D 44 2b
C N 2 2c
C U 66 2d

M C 288 3a
M D 55 3b
M N 12 3c
M U 106 2d
etc.

sample array:


D G H

18 308601 U S
19 308602 N C
20 308603 C M
21 308604 D S

for person "S" the following formulas have been successful:
1a:
SUMPRODUCT(d18:d117<""),--(G18:G117="C"),--(H18:H117="S")
1b.
SUMPRODUCT(d18:d117<""),--(G18:G117="D"),--(H18:H117="S")
1c.
SUMPRODUCT(d18:d117<""),--(G18:G117="N"),--(H18:H117="S")
1d:
SUMPRODUCT(d18:d117<""),--(G18:G117="U"),--(H18:H117="S")

A repeat of the same, for persons "C" & "M" gets me the results I require
for 2a - 2d & 3a - 3d.

The problem is, I have to repeat the same formulas 4 more times to cover the
remaining 4 column groups. I must also add summary entries to each column
group.

Is there some way that i can combine terms to eliminate this extra work?
Thanks,

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default how can i count multiple variables in multiple columns?

=SUMPRODUCT(--(d18:d117<""),--(Or(G18:G117="C",G18:G117="D",G18:G117="N",G18:G11 7="U")),--(H18:H117="S"))

"GVPro" wrote:

I am using Excel 2003.
I have a list of three people entering order data. These data are each
identified with a unique Order Serial Number.
These Serial Numbered Orders have 4 Category Classifications.
The data entries are listed in three separate columns. (equals 1 column
group).
These 3 column groups repeat 5 times in the spreadsheet.
I want to count the number of serial numbers entered by each person and by
each category, across the entire 5 column groups.

The people a C, M, & S.

The categories a C, D, N, U.

The order of entry is: Serial Number, Category, Person.

The Summary, by person, shows the total count of each Serial Number entered,
and total the count of each Swerial Number Category.

Summary example:

Person category Qty formula

S C 5 1a
S D 78 1b
S N 114 1c
S U 88 1d

C C 91 2a
C D 44 2b
C N 2 2c
C U 66 2d

M C 288 3a
M D 55 3b
M N 12 3c
M U 106 2d
etc.

sample array:


D G H

18 308601 U S
19 308602 N C
20 308603 C M
21 308604 D S

for person "S" the following formulas have been successful:
1a:
SUMPRODUCT(d18:d117<""),--(G18:G117="C"),--(H18:H117="S")
1b.
SUMPRODUCT(d18:d117<""),--(G18:G117="D"),--(H18:H117="S")
1c.
SUMPRODUCT(d18:d117<""),--(G18:G117="N"),--(H18:H117="S")
1d:
SUMPRODUCT(d18:d117<""),--(G18:G117="U"),--(H18:H117="S")

A repeat of the same, for persons "C" & "M" gets me the results I require
for 2a - 2d & 3a - 3d.

The problem is, I have to repeat the same formulas 4 more times to cover the
remaining 4 column groups. I must also add summary entries to each column
group.

Is there some way that i can combine terms to eliminate this extra work?
Thanks,

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
count for multiple conditions in multiple columns tturklsu Excel Worksheet Functions 2 July 8th 09 03:42 PM
Count w/ multiple variables & text values king60611 Excel Worksheet Functions 5 June 10th 09 09:55 PM
Filter Multiple Columns on Multiple Criteria and count the last co LBitler Excel Worksheet Functions 2 February 12th 09 08:36 PM
To count the data using multiple criteria in multiple columns Rajesh New Users to Excel 5 December 15th 08 04:07 PM
Functions/Formulas to count multiple variables 2many#s Excel Worksheet Functions 7 June 20th 07 05:20 AM


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