SUM and Wildcard search

AdamA

Board Regular
Joined
Mar 22, 2007
Messages
64
Hello guys,

I'm trying to figure out why this formula isn't working, and hope you can help me. I have a search on a sheet to tell me the number of times two criteria are met in a row, this works fine for exact matches:

{=SUM((Data!AM:AM="iPA Workbench error")*(Data!K:K="IT/Software - Europe/E-L/iPA/Workflow / AEP"))}

However, I want to be able to search the first section as a wildcard, and I've tried the following without any luck:

{=SUM((Data!AM:AM="*Workbench*")*(Data!K:K="IT/Software - Europe/E-L/iPA/Workflow / AEP"))}

Is there something I am doing wrong here? I've tried the seach on the forums but couldn't see anything that would help with where I'm going wrong.

Many thanks.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hello Adam

Try;
=SUMPRODUCT(--(ISNUMBER(SEARCH("workbench",AM1:AM1000))),--(K1:K1000="IT/Software - Europe/E-L/iPA/Workflow / AEP"))

Note that unless using XL07 (or later) you cannot use whole columns, so you must specify row #'s. Although I assume you are using XL07 or later as you used whole columns in your previous formula.
 
Upvote 0
Just one more thing.

Is it possible to throw a date search in here too?

I have a 'log date' column, with dates from 01/07/2009 to 28/02/2010 and want to be able to show criteria from July for example. I would have guessed I need to add something to the end of this to show range 01/07/2009-31/07/2009 for example, or is there an easier way to do this?

=SUMPRODUCT(--(ISNUMBER(SEARCH("LVR9",Data!AT:AT))),--(Data!K:K="IT/Software - Europe/E-L/iPA/Workflow / AEP"))

Thanks :D
 
Upvote 0
Something like:

=SUMPRODUCT(--(ISNUMBER(SEARCH("LVR9",Data!AT:AT))),--(Data!K:K="IT/Software - Europe/E-L/iPA/Workflow / AEP"),--(TEXT(A:A,"mm-yy")="07-10"))

Where dates are in column A...
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top