View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_4_] Bob Phillips[_4_] is offline
external usenet poster
 
Posts: 834
Default 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