Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 157
Default SUMIF multiple criteria

I know this question has been asked over and over again, but I can't find an
answer that fits my needs. I have a range of status(ERDS), a range of
dates(ERDAY) and the column I need summed is ERQTY. I need the ERDS to equal
2, 43, 64 or 66, and the date to equal cell D2, then summing ERQTY if they
match the criteria. Can someone help me with this? This is the formula I've
used and am getting 0
=SUMPRODUCT((ERDAY=D$2)*(ISNUMBER(MATCH(ERDS,{2;64 ;43;66},ERQTY))))
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default SUMIF multiple criteria

Tasha,

Try this

=SUMPRODUCT((Erday=D$2)*(Erds={2,64,43,66})*(Erqty ))

Mike

"Tasha" wrote:

I know this question has been asked over and over again, but I can't find an
answer that fits my needs. I have a range of status(ERDS), a range of
dates(ERDAY) and the column I need summed is ERQTY. I need the ERDS to equal
2, 43, 64 or 66, and the date to equal cell D2, then summing ERQTY if they
match the criteria. Can someone help me with this? This is the formula I've
used and am getting 0
=SUMPRODUCT((ERDAY=D$2)*(ISNUMBER(MATCH(ERDS,{2;64 ;43;66},ERQTY))))

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 157
Default SUMIF multiple criteria

Well, I didn't get a 0 this time, but is giving me too many. I think because
the ERQTY should be summed??? how would the formula read then?

"Mike H" wrote:

Tasha,

Try this

=SUMPRODUCT((Erday=D$2)*(Erds={2,64,43,66})*(Erqty ))

Mike

"Tasha" wrote:

I know this question has been asked over and over again, but I can't find an
answer that fits my needs. I have a range of status(ERDS), a range of
dates(ERDAY) and the column I need summed is ERQTY. I need the ERDS to equal
2, 43, 64 or 66, and the date to equal cell D2, then summing ERQTY if they
match the criteria. Can someone help me with this? This is the formula I've
used and am getting 0
=SUMPRODUCT((ERDAY=D$2)*(ISNUMBER(MATCH(ERDS,{2;64 ;43;66},ERQTY))))

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default SUMIF multiple criteria

Tasha

The formula will sum ERQTY prroved that the date =d2 and it finds any of
2,64,43,66 in ERDS.

My data look like this
ErDay Erds Erqty
01/01/2008 2 99


02/01/2008 66 99

With 1/1/2008 in D2 I get 99 if I change the other date to match d2 I get 198

What are you getting?

Mike


"Tasha" wrote:

Well, I didn't get a 0 this time, but is giving me too many. I think because
the ERQTY should be summed??? how would the formula read then?

"Mike H" wrote:

Tasha,

Try this

=SUMPRODUCT((Erday=D$2)*(Erds={2,64,43,66})*(Erqty ))

Mike

"Tasha" wrote:

I know this question has been asked over and over again, but I can't find an
answer that fits my needs. I have a range of status(ERDS), a range of
dates(ERDAY) and the column I need summed is ERQTY. I need the ERDS to equal
2, 43, 64 or 66, and the date to equal cell D2, then summing ERQTY if they
match the criteria. Can someone help me with this? This is the formula I've
used and am getting 0
=SUMPRODUCT((ERDAY=D$2)*(ISNUMBER(MATCH(ERDS,{2;64 ;43;66},ERQTY))))

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 157
Default SUMIF multiple criteria

This is an example of my data and what results I got: **note....ERDAY is the
date 9/1/2008 formated as 'd'

PAT ERDS ERDAY ERQTY
2055 1 1 1
2056 2 2 1
2057 2 3 1
2057 2 3 -1
2058 2 3 1
2059 20 3 1
totals should be:
1st=0 2nd=1 3rd=1
There are no 43's for those days.
What I am getting from your formula is this:
1st=0 2nd=1 3rd=3

"Mike H" wrote:

Tasha

The formula will sum ERQTY prroved that the date =d2 and it finds any of
2,64,43,66 in ERDS.

My data look like this
ErDay Erds Erqty
01/01/2008 2 99


02/01/2008 66 99

With 1/1/2008 in D2 I get 99 if I change the other date to match d2 I get 198

What are you getting?

Mike


"Tasha" wrote:

Well, I didn't get a 0 this time, but is giving me too many. I think because
the ERQTY should be summed??? how would the formula read then?

"Mike H" wrote:

Tasha,

Try this

=SUMPRODUCT((Erday=D$2)*(Erds={2,64,43,66})*(Erqty ))

Mike

"Tasha" wrote:

I know this question has been asked over and over again, but I can't find an
answer that fits my needs. I have a range of status(ERDS), a range of
dates(ERDAY) and the column I need summed is ERQTY. I need the ERDS to equal
2, 43, 64 or 66, and the date to equal cell D2, then summing ERQTY if they
match the criteria. Can someone help me with this? This is the formula I've
used and am getting 0
=SUMPRODUCT((ERDAY=D$2)*(ISNUMBER(MATCH(ERDS,{2;64 ;43;66},ERQTY))))



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default SUMIF multiple criteria

This formula gives me the results you expect

=SUMPRODUCT((erday=E2)*(Erds={2,64,43,66})*(erqty) )

Note I change the ref cell to E2 because you seem to have data in column D

Mike

"Tasha" wrote:

This is an example of my data and what results I got: **note....ERDAY is the
date 9/1/2008 formated as 'd'

PAT ERDS ERDAY ERQTY
2055 1 1 1
2056 2 2 1
2057 2 3 1
2057 2 3 -1
2058 2 3 1
2059 20 3 1
totals should be:
1st=0 2nd=1 3rd=1
There are no 43's for those days.
What I am getting from your formula is this:
1st=0 2nd=1 3rd=3

"Mike H" wrote:

Tasha

The formula will sum ERQTY prroved that the date =d2 and it finds any of
2,64,43,66 in ERDS.

My data look like this
ErDay Erds Erqty
01/01/2008 2 99


02/01/2008 66 99

With 1/1/2008 in D2 I get 99 if I change the other date to match d2 I get 198

What are you getting?

Mike


"Tasha" wrote:

Well, I didn't get a 0 this time, but is giving me too many. I think because
the ERQTY should be summed??? how would the formula read then?

"Mike H" wrote:

Tasha,

Try this

=SUMPRODUCT((Erday=D$2)*(Erds={2,64,43,66})*(Erqty ))

Mike

"Tasha" wrote:

I know this question has been asked over and over again, but I can't find an
answer that fits my needs. I have a range of status(ERDS), a range of
dates(ERDAY) and the column I need summed is ERQTY. I need the ERDS to equal
2, 43, 64 or 66, and the date to equal cell D2, then summing ERQTY if they
match the criteria. Can someone help me with this? This is the formula I've
used and am getting 0
=SUMPRODUCT((ERDAY=D$2)*(ISNUMBER(MATCH(ERDS,{2;64 ;43;66},ERQTY))))

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 157
Default SUMIF multiple criteria

That worked, I'm sorry, I had the wrong cell referenced .... it worked
wonderful!!!! Thank you thank you thank you!!!



"Mike H" wrote:

This formula gives me the results you expect

=SUMPRODUCT((erday=E2)*(Erds={2,64,43,66})*(erqty) )

Note I change the ref cell to E2 because you seem to have data in column D

Mike

"Tasha" wrote:

This is an example of my data and what results I got: **note....ERDAY is the
date 9/1/2008 formated as 'd'

PAT ERDS ERDAY ERQTY
2055 1 1 1
2056 2 2 1
2057 2 3 1
2057 2 3 -1
2058 2 3 1
2059 20 3 1
totals should be:
1st=0 2nd=1 3rd=1
There are no 43's for those days.
What I am getting from your formula is this:
1st=0 2nd=1 3rd=3

"Mike H" wrote:

Tasha

The formula will sum ERQTY prroved that the date =d2 and it finds any of
2,64,43,66 in ERDS.

My data look like this
ErDay Erds Erqty
01/01/2008 2 99


02/01/2008 66 99

With 1/1/2008 in D2 I get 99 if I change the other date to match d2 I get 198

What are you getting?

Mike


"Tasha" wrote:

Well, I didn't get a 0 this time, but is giving me too many. I think because
the ERQTY should be summed??? how would the formula read then?

"Mike H" wrote:

Tasha,

Try this

=SUMPRODUCT((Erday=D$2)*(Erds={2,64,43,66})*(Erqty ))

Mike

"Tasha" wrote:

I know this question has been asked over and over again, but I can't find an
answer that fits my needs. I have a range of status(ERDS), a range of
dates(ERDAY) and the column I need summed is ERQTY. I need the ERDS to equal
2, 43, 64 or 66, and the date to equal cell D2, then summing ERQTY if they
match the criteria. Can someone help me with this? This is the formula I've
used and am getting 0
=SUMPRODUCT((ERDAY=D$2)*(ISNUMBER(MATCH(ERDS,{2;64 ;43;66},ERQTY))))

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default SUMIF multiple criteria

You're welcome

"Tasha" wrote:

That worked, I'm sorry, I had the wrong cell referenced .... it worked
wonderful!!!! Thank you thank you thank you!!!



"Mike H" wrote:

This formula gives me the results you expect

=SUMPRODUCT((erday=E2)*(Erds={2,64,43,66})*(erqty) )

Note I change the ref cell to E2 because you seem to have data in column D

Mike

"Tasha" wrote:

This is an example of my data and what results I got: **note....ERDAY is the
date 9/1/2008 formated as 'd'

PAT ERDS ERDAY ERQTY
2055 1 1 1
2056 2 2 1
2057 2 3 1
2057 2 3 -1
2058 2 3 1
2059 20 3 1
totals should be:
1st=0 2nd=1 3rd=1
There are no 43's for those days.
What I am getting from your formula is this:
1st=0 2nd=1 3rd=3

"Mike H" wrote:

Tasha

The formula will sum ERQTY prroved that the date =d2 and it finds any of
2,64,43,66 in ERDS.

My data look like this
ErDay Erds Erqty
01/01/2008 2 99


02/01/2008 66 99

With 1/1/2008 in D2 I get 99 if I change the other date to match d2 I get 198

What are you getting?

Mike


"Tasha" wrote:

Well, I didn't get a 0 this time, but is giving me too many. I think because
the ERQTY should be summed??? how would the formula read then?

"Mike H" wrote:

Tasha,

Try this

=SUMPRODUCT((Erday=D$2)*(Erds={2,64,43,66})*(Erqty ))

Mike

"Tasha" wrote:

I know this question has been asked over and over again, but I can't find an
answer that fits my needs. I have a range of status(ERDS), a range of
dates(ERDAY) and the column I need summed is ERQTY. I need the ERDS to equal
2, 43, 64 or 66, and the date to equal cell D2, then summing ERQTY if they
match the criteria. Can someone help me with this? This is the formula I've
used and am getting 0
=SUMPRODUCT((ERDAY=D$2)*(ISNUMBER(MATCH(ERDS,{2;64 ;43;66},ERQTY))))

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 157
Default SUMIF multiple criteria

Ok, one more ?. If on this same sheet I don't want to count by ERDAY, how
would I do that? I just want a sum of ERQTY if ERDS=2,43,66,64??

"Mike H" wrote:

You're welcome

"Tasha" wrote:

That worked, I'm sorry, I had the wrong cell referenced .... it worked
wonderful!!!! Thank you thank you thank you!!!



"Mike H" wrote:

This formula gives me the results you expect

=SUMPRODUCT((erday=E2)*(Erds={2,64,43,66})*(erqty) )

Note I change the ref cell to E2 because you seem to have data in column D

Mike

"Tasha" wrote:

This is an example of my data and what results I got: **note....ERDAY is the
date 9/1/2008 formated as 'd'

PAT ERDS ERDAY ERQTY
2055 1 1 1
2056 2 2 1
2057 2 3 1
2057 2 3 -1
2058 2 3 1
2059 20 3 1
totals should be:
1st=0 2nd=1 3rd=1
There are no 43's for those days.
What I am getting from your formula is this:
1st=0 2nd=1 3rd=3

"Mike H" wrote:

Tasha

The formula will sum ERQTY prroved that the date =d2 and it finds any of
2,64,43,66 in ERDS.

My data look like this
ErDay Erds Erqty
01/01/2008 2 99


02/01/2008 66 99

With 1/1/2008 in D2 I get 99 if I change the other date to match d2 I get 198

What are you getting?

Mike


"Tasha" wrote:

Well, I didn't get a 0 this time, but is giving me too many. I think because
the ERQTY should be summed??? how would the formula read then?

"Mike H" wrote:

Tasha,

Try this

=SUMPRODUCT((Erday=D$2)*(Erds={2,64,43,66})*(Erqty ))

Mike

"Tasha" wrote:

I know this question has been asked over and over again, but I can't find an
answer that fits my needs. I have a range of status(ERDS), a range of
dates(ERDAY) and the column I need summed is ERQTY. I need the ERDS to equal
2, 43, 64 or 66, and the date to equal cell D2, then summing ERQTY if they
match the criteria. Can someone help me with this? This is the formula I've
used and am getting 0
=SUMPRODUCT((ERDAY=D$2)*(ISNUMBER(MATCH(ERDS,{2;64 ;43;66},ERQTY))))

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 157
Default SUMIF multiple criteria

Figured it out :)
=SUMPRODUCT((ERDAY<AG2)*(ERDS={2,64,43,66})*(ERQTY ))
AG2=the next month's begin date....


"Tasha" wrote:

Ok, one more ?. If on this same sheet I don't want to count by ERDAY, how
would I do that? I just want a sum of ERQTY if ERDS=2,43,66,64??

"Mike H" wrote:

You're welcome

"Tasha" wrote:

That worked, I'm sorry, I had the wrong cell referenced .... it worked
wonderful!!!! Thank you thank you thank you!!!



"Mike H" wrote:

This formula gives me the results you expect

=SUMPRODUCT((erday=E2)*(Erds={2,64,43,66})*(erqty) )

Note I change the ref cell to E2 because you seem to have data in column D

Mike

"Tasha" wrote:

This is an example of my data and what results I got: **note....ERDAY is the
date 9/1/2008 formated as 'd'

PAT ERDS ERDAY ERQTY
2055 1 1 1
2056 2 2 1
2057 2 3 1
2057 2 3 -1
2058 2 3 1
2059 20 3 1
totals should be:
1st=0 2nd=1 3rd=1
There are no 43's for those days.
What I am getting from your formula is this:
1st=0 2nd=1 3rd=3

"Mike H" wrote:

Tasha

The formula will sum ERQTY prroved that the date =d2 and it finds any of
2,64,43,66 in ERDS.

My data look like this
ErDay Erds Erqty
01/01/2008 2 99


02/01/2008 66 99

With 1/1/2008 in D2 I get 99 if I change the other date to match d2 I get 198

What are you getting?

Mike


"Tasha" wrote:

Well, I didn't get a 0 this time, but is giving me too many. I think because
the ERQTY should be summed??? how would the formula read then?

"Mike H" wrote:

Tasha,

Try this

=SUMPRODUCT((Erday=D$2)*(Erds={2,64,43,66})*(Erqty ))

Mike

"Tasha" wrote:

I know this question has been asked over and over again, but I can't find an
answer that fits my needs. I have a range of status(ERDS), a range of
dates(ERDAY) and the column I need summed is ERQTY. I need the ERDS to equal
2, 43, 64 or 66, and the date to equal cell D2, then summing ERQTY if they
match the criteria. Can someone help me with this? This is the formula I've
used and am getting 0
=SUMPRODUCT((ERDAY=D$2)*(ISNUMBER(MATCH(ERDS,{2;64 ;43;66},ERQTY))))

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 / SUMIF on Multiple Worksheets with Multiple Criteria kazoo Excel Discussion (Misc queries) 2 August 21st 08 06:22 PM
Multiple Criteria for SUMIF Duncan Excel Worksheet Functions 5 May 22nd 08 11:41 PM
Sumif with Multiple Criteria No Idea Excel Worksheet Functions 3 May 15th 08 06:27 PM
Sumif with multiple criteria TamIam Excel Worksheet Functions 2 November 29th 07 02:57 PM
SUMIF multiple criteria HLS Excel Discussion (Misc queries) 5 March 24th 06 03:43 PM


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