#1   Report Post  
JerryS
 
Posts: n/a
Default SUMPRODUCT

I have a column that contains two sets of information displayed as

173.05 prepaid
49.95
174.03 prepaid
149.95
149.95

I'd like a sumproduct search that counts only the number of times a cell
containg "prepaid" is listed. There are other criteria and columns which is
why I prefer to use sumproduct but am open to anything. Thanks

JerryS
  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

COUNTIF will do what you asked -- count the number of occurrences of
"prepaid".

On Mon, 6 Jun 2005 18:45:21 -0700, JerryS
wrote:

I have a column that contains two sets of information displayed as

173.05 prepaid
49.95
174.03 prepaid
149.95
149.95

I'd like a sumproduct search that counts only the number of times a cell
containg "prepaid" is listed. There are other criteria and columns which is
why I prefer to use sumproduct but am open to anything. Thanks

JerryS


  #3   Report Post  
JerryS
 
Posts: n/a
Default

Thanks but I can't get it to work because the dollars and "prepaid" are in
the same cell. Wow would I write it so that it counts if the cell contains
"prepaid"?
--
JerryS


"Myrna Larson" wrote:

COUNTIF will do what you asked -- count the number of occurrences of
"prepaid".

On Mon, 6 Jun 2005 18:45:21 -0700, JerryS
wrote:

I have a column that contains two sets of information displayed as

173.05 prepaid
49.95
174.03 prepaid
149.95
149.95

I'd like a sumproduct search that counts only the number of times a cell
containg "prepaid" is listed. There are other criteria and columns which is
why I prefer to use sumproduct but am open to anything. Thanks

JerryS



  #4   Report Post  
Duke Carey
 
Posts: n/a
Default

=sumproduct(--(right(a1:a50,7)="prepaid"))

You might also have to use

=sumproduct(--(right(trim(a1:a50),7)="prepaid"))

if there are trailing spaces after 'prepaid'



"JerryS" wrote:

Thanks but I can't get it to work because the dollars and "prepaid" are in
the same cell. Wow would I write it so that it counts if the cell contains
"prepaid"?
--
JerryS


"Myrna Larson" wrote:

COUNTIF will do what you asked -- count the number of occurrences of
"prepaid".

On Mon, 6 Jun 2005 18:45:21 -0700, JerryS
wrote:

I have a column that contains two sets of information displayed as

173.05 prepaid
49.95
174.03 prepaid
149.95
149.95

I'd like a sumproduct search that counts only the number of times a cell
containg "prepaid" is listed. There are other criteria and columns which is
why I prefer to use sumproduct but am open to anything. Thanks

JerryS



  #5   Report Post  
Duke Carey
 
Posts: n/a
Default

you can also use

=COUNTIF(A1:A50,"=*prepaid*")

"JerryS" wrote:

Thanks but I can't get it to work because the dollars and "prepaid" are in
the same cell. Wow would I write it so that it counts if the cell contains
"prepaid"?
--
JerryS


"Myrna Larson" wrote:

COUNTIF will do what you asked -- count the number of occurrences of
"prepaid".

On Mon, 6 Jun 2005 18:45:21 -0700, JerryS
wrote:

I have a column that contains two sets of information displayed as

173.05 prepaid
49.95
174.03 prepaid
149.95
149.95

I'd like a sumproduct search that counts only the number of times a cell
containg "prepaid" is listed. There are other criteria and columns which is
why I prefer to use sumproduct but am open to anything. Thanks

JerryS



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
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 10:15 AM.

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"