Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Joe
 
Posts: n/a
Default Please help - Looking for a way to sum up for specific error codes that occur in multiple months.

Here is an example of what I am trying to captu Every SOE entry that
Joe during the months of June, July, and August. According to this
example the total is 3.

(A) (B) (C) (D)
REGION NAME MONTH ERROR CODE
EAST JOE JUNE SOE
EAST JOE JULY SOE
EAST JOE AUGUST SOE

Thanks for helping me.

  #2   Report Post  
Posted to microsoft.public.excel.misc
FSt1
 
Posts: n/a
Default Please help - Looking for a way to sum up for specific error codes

=countif(range,criteria)
=countif(A1:D5,"SOE")

regards
FSt1

"Joe" wrote:

Here is an example of what I am trying to captu Every SOE entry that
Joe during the months of June, July, and August. According to this
example the total is 3.

(A) (B) (C) (D)
REGION NAME MONTH ERROR CODE
EAST JOE JUNE SOE
EAST JOE JULY SOE
EAST JOE AUGUST SOE

Thanks for helping me.


  #3   Report Post  
Posted to microsoft.public.excel.misc
Joe
 
Posts: n/a
Default Please help - Looking for a way to sum up for specific error codes

Thank you, however what formula would I use if there were other names
in column A that had the same error code of "soe" during those months?
But I only want to calculate how many "SOE" errors Joe had for that
quarter of business.

Your help is appreciated,
Joe



FSt1 wrote:
=countif(range,criteria)
=countif(A1:D5,"SOE")

regards
FSt1

"Joe" wrote:

Here is an example of what I am trying to captu Every SOE entry that
Joe during the months of June, July, and August. According to this
example the total is 3.

(A) (B) (C) (D)
REGION NAME MONTH ERROR CODE
EAST JOE JUNE SOE
EAST JOE JULY SOE
EAST JOE AUGUST SOE

West Jane June SOE
North Bob July SOE

Thanks for helping me.



  #4   Report Post  
Posted to microsoft.public.excel.misc
JMB
 
Posts: n/a
Default Please help - Looking for a way to sum up for specific error codes

There's probably a more elegant way, but

=SUMPRODUCT(--(B2:B4="Joe"),--(D2:D4="SOE"),(C2:C4="June")+(C2:C4="July")+(C2:C4 ="August"))

change ranges as needed. Sumproduct cannot accomadate entire columns (such
as A:A or A1:A65536, but A1:A65535 will work).


"Joe" wrote:

Here is an example of what I am trying to captu Every SOE entry that
Joe during the months of June, July, and August. According to this
example the total is 3.

(A) (B) (C) (D)
REGION NAME MONTH ERROR CODE
EAST JOE JUNE SOE
EAST JOE JULY SOE
EAST JOE AUGUST SOE

Thanks for helping me.


  #5   Report Post  
Posted to microsoft.public.excel.misc
Joe
 
Posts: n/a
Default Please help - Looking for a way to sum up for specific error codes

Thank you very much! This formula works fine and you have saved me so
much time! :-)


JMB wrote:
There's probably a more elegant way, but

=SUMPRODUCT(--(B2:B4="Joe"),--(D2:D4="SOE"),(C2:C4="June")+(C2:C4="July")+(C2:C4 ="August"))

change ranges as needed. Sumproduct cannot accomadate entire columns (such
as A:A or A1:A65536, but A1:A65535 will work).


"Joe" wrote:

Here is an example of what I am trying to captu Every SOE entry that
Joe during the months of June, July, and August. According to this
example the total is 3.

(A) (B) (C) (D)
REGION NAME MONTH ERROR CODE
EAST JOE JUNE SOE
EAST JOE JULY SOE
EAST JOE AUGUST SOE

Thanks for helping me.



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
Using SUMIF function with multiple criteria for Aging josnah Excel Worksheet Functions 2 June 4th 06 10:18 AM
popup calendar with multiple months shawn Excel Discussion (Misc queries) 0 December 28th 05 02:55 AM
months between 2 dates!!! speary Excel Discussion (Misc queries) 1 August 19th 05 03:22 PM
Why "datedif" function results sometimes negative numbers? Ambrosiy Excel Worksheet Functions 1 July 8th 05 11:29 AM


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