Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Todd
 
Posts: n/a
Default How do I count letters and numbers in a formula?

D I J M O <--column
How Type SP Bid Status <--Label
PM 21 AF 100 P
SC 41 AF 1000 L
CQ 11 DP 750 S

How do I get the sales totals for this? Count column D if it equals PM,
column I equals 21, and column O equals S, = sum column M. Please help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default How do I count letters and numbers in a formula?

Try...

=SUMPRODUCT(--(D2:D4="PM"),--(I2:I4=21),--(O2:O4="S"),M2:M4)

Hope this helps!

In article ,
Todd <Todd @discussions.microsoft.com wrote:

D I J M O <--column
How Type SP Bid Status <--Label
PM 21 AF 100 P
SC 41 AF 1000 L
CQ 11 DP 750 S

How do I get the sales totals for this? Count column D if it equals PM,
column I equals 21, and column O equals S, = sum column M. Please help.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default How do I count letters and numbers in a formula?

Hi

Try this:

=SUMPRODUCT(--(D1:D10="PM"),--(I1:I10=21),--(O1:O10="S"),M1:M10)

Better to use cells to hold the criteria:

A1 = PM
A2 = 21
A3 = S

=SUMPRODUCT(--(D1:D10=A1),--(I1:I10=A2),--(O1:O10=A3),M1:M10)

Biff

"Todd" <Todd @discussions.microsoft.com wrote in message
...
D I J M O <--column
How Type SP Bid Status <--Label
PM 21 AF 100 P
SC 41 AF 1000 L
CQ 11 DP 750 S

How do I get the sales totals for this? Count column D if it equals PM,
column I equals 21, and column O equals S, = sum column M. Please help.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Todd
 
Posts: n/a
Default How do I count letters and numbers in a formula?

I had the parenthesis around the 21 --(I2:I4="21"). I see my mistake.
Thanks.

"Domenic" wrote:

Try...

=SUMPRODUCT(--(D2:D4="PM"),--(I2:I4=21),--(O2:O4="S"),M2:M4)

Hope this helps!

In article ,
Todd <Todd @discussions.microsoft.com wrote:

D I J M O <--column
How Type SP Bid Status <--Label
PM 21 AF 100 P
SC 41 AF 1000 L
CQ 11 DP 750 S

How do I get the sales totals for this? Count column D if it equals PM,
column I equals 21, and column O equals S, = sum column M. Please help.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Todd
 
Posts: n/a
Default How do I count letters and numbers in a formula?

I had the parenthesis around the 21 --(I2:I4="21"). I see my mistake.
Thanks.

"Biff" wrote:

Hi

Try this:

=SUMPRODUCT(--(D1:D10="PM"),--(I1:I10=21),--(O1:O10="S"),M1:M10)

Better to use cells to hold the criteria:

A1 = PM
A2 = 21
A3 = S

=SUMPRODUCT(--(D1:D10=A1),--(I1:I10=A2),--(O1:O10=A3),M1:M10)

Biff

"Todd" <Todd @discussions.microsoft.com wrote in message
...
D I J M O <--column
How Type SP Bid Status <--Label
PM 21 AF 100 P
SC 41 AF 1000 L
CQ 11 DP 750 S

How do I get the sales totals for this? Count column D if it equals PM,
column I equals 21, and column O equals S, = sum column M. Please help.




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
no row numbers or column letters DISPLAYED RagDyer Excel Discussion (Misc queries) 4 April 24th 23 03:42 AM
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 04:51 PM
How do I sort letters before numbers in Excel? RiverGirl Excel Discussion (Misc queries) 4 May 27th 05 04:09 PM
VLOOKUP for a cell with both letters and numbers Sonohal Excel Discussion (Misc queries) 6 April 8th 05 02:13 PM
Display numbers only, no text formula Mira Excel Worksheet Functions 2 November 11th 04 01:54 AM


All times are GMT +1. The time now is 12:31 PM.

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"