ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumif with a or condition. (https://www.excelbanter.com/excel-worksheet-functions/260298-sumif-condition.html)

Mike

Sumif with a or condition.
 
I have the equation below which tallies the number of records that meet the
criteria Server Hardware, Internal Issue and Limited Functionality. This
works great with the following formula:

=SUM(IF(('Total Outages'!R2:R300=C48)*('Total Outages'!Q2:Q300=H2)*('Total
Outages'!S2:S300=C7),1,0))

But I need a formula to include an OR condition to tally the number of
records that are either Server Hardware or Server Software in R2:R300.

C48 = Server Hardware
C49 = Server Software
H2 = Limited Functionality
C7 = Internal Issue

I have tried using a wildcard €˜ser*, no luck, I have tried *OR, no luck,
also tried using SUMPRODUCT no luck.

Any help is appreciated.

Thanks,

Mike

--
Mike

Marcelo

Sumif with a or condition.
 
what version of MS Excel are you use? 2003 or 2007?

2007 = sumifs

2003 = sumproduct should runs.

hth
--
pleae click yes if it was helpfull
regards from Brazil
Marcelo



"Mike" escreveu:

I have the equation below which tallies the number of records that meet the
criteria Server Hardware, Internal Issue and Limited Functionality. This
works great with the following formula:

=SUM(IF(('Total Outages'!R2:R300=C48)*('Total Outages'!Q2:Q300=H2)*('Total
Outages'!S2:S300=C7),1,0))

But I need a formula to include an OR condition to tally the number of
records that are either Server Hardware or Server Software in R2:R300.

C48 = Server Hardware
C49 = Server Software
H2 = Limited Functionality
C7 = Internal Issue

I have tried using a wildcard €˜ser*, no luck, I have tried *OR, no luck,
also tried using SUMPRODUCT no luck.

Any help is appreciated.

Thanks,

Mike

--
Mike


Mike

Sumif with a or condition.
 
2003...................

How is it written using sumproduct?
--
Mike


"Marcelo" wrote:

what version of MS Excel are you use? 2003 or 2007?

2007 = sumifs

2003 = sumproduct should runs.

hth
--
pleae click yes if it was helpfull
regards from Brazil
Marcelo



"Mike" escreveu:

I have the equation below which tallies the number of records that meet the
criteria Server Hardware, Internal Issue and Limited Functionality. This
works great with the following formula:

=SUM(IF(('Total Outages'!R2:R300=C48)*('Total Outages'!Q2:Q300=H2)*('Total
Outages'!S2:S300=C7),1,0))

But I need a formula to include an OR condition to tally the number of
records that are either Server Hardware or Server Software in R2:R300.

C48 = Server Hardware
C49 = Server Software
H2 = Limited Functionality
C7 = Internal Issue

I have tried using a wildcard €˜ser*, no luck, I have tried *OR, no luck,
also tried using SUMPRODUCT no luck.

Any help is appreciated.

Thanks,

Mike

--
Mike


Dave Peterson

Sumif with a or condition.
 
One way:
=sumproduct(--((('total outages'!r2:r300=c48)+('total outages'!r2:r300=c49))0),
--('Total Outages'!Q2:Q300=H2),
--('Total Outages'!s2:s300=c7))


Mike wrote:

I have the equation below which tallies the number of records that meet the
criteria Server Hardware, Internal Issue and Limited Functionality. This
works great with the following formula:

=SUM(IF(('Total Outages'!R2:R300=C48)*('Total Outages'!Q2:Q300=H2)*('Total
Outages'!S2:S300=C7),1,0))

But I need a formula to include an OR condition to tally the number of
records that are either Server Hardware or Server Software in R2:R300.

C48 = Server Hardware
C49 = Server Software
H2 = Limited Functionality
C7 = Internal Issue

I have tried using a wildcard €˜ser*, no luck, I have tried *OR, no luck,
also tried using SUMPRODUCT no luck.

Any help is appreciated.

Thanks,

Mike

--
Mike


--

Dave Peterson

Mike

Sumif with a or condition.
 
I believe I got it to work,,,had to add an additional column (V) with values
of 1....


=SUMPRODUCT(--('Total Outages'!Q2:Q300=H2),--('Total
Outages'!S2:S300=C7),--(ISNUMBER(MATCH('Total
Outages'!$R$2:$R$300,C48:C49,0))),'Total Outages'!V2:V300)



Thanks,
--
Mike


"Mike" wrote:

2003...................

How is it written using sumproduct?
--
Mike


"Marcelo" wrote:

what version of MS Excel are you use? 2003 or 2007?

2007 = sumifs

2003 = sumproduct should runs.

hth
--
pleae click yes if it was helpfull
regards from Brazil
Marcelo



"Mike" escreveu:

I have the equation below which tallies the number of records that meet the
criteria Server Hardware, Internal Issue and Limited Functionality. This
works great with the following formula:

=SUM(IF(('Total Outages'!R2:R300=C48)*('Total Outages'!Q2:Q300=H2)*('Total
Outages'!S2:S300=C7),1,0))

But I need a formula to include an OR condition to tally the number of
records that are either Server Hardware or Server Software in R2:R300.

C48 = Server Hardware
C49 = Server Software
H2 = Limited Functionality
C7 = Internal Issue

I have tried using a wildcard €˜ser*, no luck, I have tried *OR, no luck,
also tried using SUMPRODUCT no luck.

Any help is appreciated.

Thanks,

Mike

--
Mike


Marcelo

Sumif with a or condition.
 
great
--
pleae click yes if it was helpfull
regards from Brazil
Marcelo



"Mike" escreveu:

I believe I got it to work,,,had to add an additional column (V) with values
of 1....


=SUMPRODUCT(--('Total Outages'!Q2:Q300=H2),--('Total
Outages'!S2:S300=C7),--(ISNUMBER(MATCH('Total
Outages'!$R$2:$R$300,C48:C49,0))),'Total Outages'!V2:V300)



Thanks,
--
Mike


"Mike" wrote:

2003...................

How is it written using sumproduct?
--
Mike


"Marcelo" wrote:

what version of MS Excel are you use? 2003 or 2007?

2007 = sumifs

2003 = sumproduct should runs.

hth
--
pleae click yes if it was helpfull
regards from Brazil
Marcelo



"Mike" escreveu:

I have the equation below which tallies the number of records that meet the
criteria Server Hardware, Internal Issue and Limited Functionality. This
works great with the following formula:

=SUM(IF(('Total Outages'!R2:R300=C48)*('Total Outages'!Q2:Q300=H2)*('Total
Outages'!S2:S300=C7),1,0))

But I need a formula to include an OR condition to tally the number of
records that are either Server Hardware or Server Software in R2:R300.

C48 = Server Hardware
C49 = Server Software
H2 = Limited Functionality
C7 = Internal Issue

I have tried using a wildcard €˜ser*, no luck, I have tried *OR, no luck,
also tried using SUMPRODUCT no luck.

Any help is appreciated.

Thanks,

Mike

--
Mike


Bob Phillips[_4_]

Sumif with a or condition.
 
You don't need that additional column

=SUMPRODUCT(--('Total Outages'!Q2:Q300=H2),
--('Total Outages'!S2:S300=C7),
--(ISNUMBER(MATCH('Total
Outages'!$R$2:$R$300,C48:C49,0))))

--

HTH

Bob

"Mike" wrote in message
...
I believe I got it to work,,,had to add an additional column (V) with
values
of 1....


=SUMPRODUCT(--('Total Outages'!Q2:Q300=H2),--('Total
Outages'!S2:S300=C7),--(ISNUMBER(MATCH('Total
Outages'!$R$2:$R$300,C48:C49,0))),'Total Outages'!V2:V300)



Thanks,
--
Mike


"Mike" wrote:

2003...................

How is it written using sumproduct?
--
Mike


"Marcelo" wrote:

what version of MS Excel are you use? 2003 or 2007?

2007 = sumifs

2003 = sumproduct should runs.

hth
--
pleae click yes if it was helpfull
regards from Brazil
Marcelo



"Mike" escreveu:

I have the equation below which tallies the number of records that
meet the
criteria Server Hardware, Internal Issue and Limited Functionality.
This
works great with the following formula:

=SUM(IF(('Total Outages'!R2:R300=C48)*('Total
Outages'!Q2:Q300=H2)*('Total
Outages'!S2:S300=C7),1,0))

But I need a formula to include an OR condition to tally the number
of
records that are either Server Hardware or Server Software in
R2:R300.

C48 = Server Hardware
C49 = Server Software
H2 = Limited Functionality
C7 = Internal Issue

I have tried using a wildcard 'ser*', no luck, I have tried *OR, no
luck,
also tried using SUMPRODUCT no luck.

Any help is appreciated.

Thanks,

Mike

--
Mike





All times are GMT +1. The time now is 06:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com