Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 122
Default Sumproduct Numbers and Text?

I have columns set up. Some have names and some have numbers.

Can I use sumproduct to do the following?

Column A is State Text
Column B is Date Month
Column C is Mode Number
Column D is Name Text

Can I use sumproduct to select state, date, mode, and then count the
occurances of a specific name in column D?

Count, not sum? Is that possible?

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,726
Default Sumproduct Numbers and Text?

=SUMPRODUCT(--(A2:A200="Texas"),--(B2:B200=--"2006-01-12"),--(C2:C200=27),--(D2:D200="Bob"))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"wx4usa" wrote in message
ups.com...
I have columns set up. Some have names and some have numbers.

Can I use sumproduct to do the following?

Column A is State Text
Column B is Date Month
Column C is Mode Number
Column D is Name Text

Can I use sumproduct to select state, date, mode, and then count the
occurances of a specific name in column D?

Count, not sum? Is that possible?



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Sumproduct Numbers and Text?

Yes, you can do that. Are there any empty cells in your date range? An empty
cell will evaluate as month 1.

=SUMPRODUCT(--(A1:A10="Pa"),--(MONTH(B1:B10)=7),--(C1:C10=5),--(D1:D10="Lisa"))

Better to use cells to hold the criteria:

F1 = Pa
G1 = month number = 7
H1 = 5
I1 = Lisa

=SUMPRODUCT(--(A1:A10=F1),--(MONTH(B1:B10)=G1),--(C1:C10=H1),--(D1:D10=I1))

Biff

"wx4usa" wrote in message
ups.com...
I have columns set up. Some have names and some have numbers.

Can I use sumproduct to do the following?

Column A is State Text
Column B is Date Month
Column C is Mode Number
Column D is Name Text

Can I use sumproduct to select state, date, mode, and then count the
occurances of a specific name in column D?

Count, not sum? Is that possible?



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 122
Default Sumproduct Numbers and Text?

On Feb 13, 5:09 pm, "T. Valko" wrote:
Yes, you can do that. Are there any empty cells in your date range? An empty
cell will evaluate as month 1.

=SUMPRODUCT(--(A1:A10="Pa"),--(MONTH(B1:B10)=7),--(C1:C10=5),--(D1:D10="Lisa"))

Better to use cells to hold the criteria:

F1 = Pa
G1 = month number = 7
H1 = 5
I1 = Lisa

=SUMPRODUCT(--(A1:A10=F1),--(MONTH(B1:B10)=G1),--(C1:C10=H1),--(D1:D10=I1))

Biff

"wx4usa" wrote in message

ups.com...

I have columns set up. Some have names and some have numbers.


Can I use sumproduct to do the following?


Column A is State Text
Column B is Date Month
Column C is Mode Number
Column D is Name Text


Can I use sumproduct to select state, date, mode, and then count the
occurances of a specific name in column D?


Count, not sum? Is that possible?


Thank you both very much...sorry for the delay in getting back It
works!

  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Sumproduct Numbers and Text?

You're welcome!

Biff

"wx4usa" wrote in message
ps.com...
On Feb 13, 5:09 pm, "T. Valko" wrote:
Yes, you can do that. Are there any empty cells in your date range? An
empty
cell will evaluate as month 1.

=SUMPRODUCT(--(A1:A10="Pa"),--(MONTH(B1:B10)=7),--(C1:C10=5),--(D1:D10="Lisa"))

Better to use cells to hold the criteria:

F1 = Pa
G1 = month number = 7
H1 = 5
I1 = Lisa

=SUMPRODUCT(--(A1:A10=F1),--(MONTH(B1:B10)=G1),--(C1:C10=H1),--(D1:D10=I1))

Biff

"wx4usa" wrote in message

ups.com...

I have columns set up. Some have names and some have numbers.


Can I use sumproduct to do the following?


Column A is State Text
Column B is Date Month
Column C is Mode Number
Column D is Name Text


Can I use sumproduct to select state, date, mode, and then count the
occurances of a specific name in column D?


Count, not sum? Is that possible?


Thank you both very much...sorry for the delay in getting back It
works!



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
VLOOKUP should compare numbers stored as text to plain numbers. VLOOKUP - Numbers stored as text Excel Worksheet Functions 0 March 31st 06 05:53 PM
Convert numbers stored as text to numbers Excel 2000 Darlene Excel Discussion (Misc queries) 6 January 31st 06 08:04 PM
SUMPRODUCT USING WORDS AS WELL AS NUMBERS FOR CRITERIA Andrew C Excel Worksheet Functions 2 December 29th 05 08:07 PM
Sumproduct not working when summing values between two numbers FlamencoKid Excel Worksheet Functions 8 September 13th 05 06:01 PM
How to convert Excel imported numbers from text to numbers? Alden Excel Discussion (Misc queries) 9 April 1st 05 09:51 PM


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