Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JT
 
Posts: n/a
Default Combining Data from Multiple Columns

I am trying to compare and count data from multiple columns and return a
value to another column. For example:

Cells A1 through A50 will contain a donation amount from prospective donors
as donations are received.
Cells B1 through B50 identify the prospective donors by name
Cells C1 through C50 contain a single letter designation on the type of
donor ( M=member, N=non-member, V=visitor, etc...)

In E1 I want to be able to return the total number of members (M) who have
submitted donations by checking A1 through A50to see if there is any value in
each cell. In E2, the same but for non-members (n)...same in E3 for visitors
(V).

Is there a formula to accomplish this and can you guide me?

Thanks!

JT
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ragdyer
 
Posts: n/a
Default Combining Data from Multiple Columns

How about in D1 you enter
M
In D2 you enter
N
And in D3 you enter
V

Then, enter this formula in E1, and copy down to E3:

=SUMPRODUCT(($C$1:$C$50=D1)*($A$1:$A$50<0)*$A$1:$ A$50)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"JT" wrote in message
...
I am trying to compare and count data from multiple columns and return a
value to another column. For example:

Cells A1 through A50 will contain a donation amount from prospective

donors
as donations are received.
Cells B1 through B50 identify the prospective donors by name
Cells C1 through C50 contain a single letter designation on the type of
donor ( M=member, N=non-member, V=visitor, etc...)

In E1 I want to be able to return the total number of members (M) who have
submitted donations by checking A1 through A50to see if there is any value

in
each cell. In E2, the same but for non-members (n)...same in E3 for

visitors
(V).

Is there a formula to accomplish this and can you guide me?

Thanks!

JT


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ragdyer
 
Posts: n/a
Default Combining Data from Multiple Columns

Made a mistake and added the donations for each group instead of counting
them.

Use this to count the groups:

=SUMPRODUCT(($C$1:$C$50=D1)*($A$1:$A$50<0))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ragdyer" wrote in message
...
How about in D1 you enter
M
In D2 you enter
N
And in D3 you enter
V

Then, enter this formula in E1, and copy down to E3:

=SUMPRODUCT(($C$1:$C$50=D1)*($A$1:$A$50<0)*$A$1:$ A$50)

--
HTH,

RD

--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit !
--------------------------------------------------------------------------

-
"JT" wrote in message
...
I am trying to compare and count data from multiple columns and return a
value to another column. For example:

Cells A1 through A50 will contain a donation amount from prospective

donors
as donations are received.
Cells B1 through B50 identify the prospective donors by name
Cells C1 through C50 contain a single letter designation on the type of
donor ( M=member, N=non-member, V=visitor, etc...)

In E1 I want to be able to return the total number of members (M) who

have
submitted donations by checking A1 through A50to see if there is any

value
in
each cell. In E2, the same but for non-members (n)...same in E3 for

visitors
(V).

Is there a formula to accomplish this and can you guide me?

Thanks!

JT



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
combining data from multiple sheets Allen Way via OfficeKB.com Excel Worksheet Functions 1 April 5th 05 06:02 PM
merge data from multiple columns to single column triggerthehorse Excel Worksheet Functions 2 January 17th 05 07:19 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Drop-down selection fills data across multiple columns Tom Excel Discussion (Misc queries) 7 December 2nd 04 12:43 AM
how to convert multiple columns of data into one single column? Ah 3 Excel Worksheet Functions 1 November 12th 04 02:33 PM


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