COUNTIFS equivalent in Excel 2003 - both criteria have text, one has "wildcard"


C

Courtney

Hi all,

I am trying to find a way to write the following formula in Excel 2003. I
have tried SUMPRODUCT but it does not seem to work when both criteria have
text values. I tried COUNTIF & COUNTIF but I think the wildcard * is
throwing off the result.

=COUNTIFS('Cycle 1'!$B$14:$B$1069, "Auto*", 'Cycle 1'!$J$14:$J$1069, "100%")


Please help!
Thank you!

url:http://www.ureader.com/gp/1042-1.aspx
 
Ad

Advertisements

T

T. Valko

COUNTIFS('Cycle 1'!$B$14:$B$1069, "Auto*", 'Cycle 1'!$J$14:$J$1069, "100%")

Does the range J14:J1069 contain numbers formatted as Percentage?

See if this does what you want...

=SUMPRODUCT(--(LEFT('Cycle 1'!$B$14:$B$1069,4)="Auto"),--('Cycle
1'!$J$14:$J$1069=1))
 
Ad

Advertisements

T

T. Valko

I'm getting a "#DIV/0" error.

Do you have #DIV/0! errors in any of the referenced ranges?

Try this array formula** :

=SUM(IF(LEFT('Cycle 1'!B14:B1069,4)="Auto",IF(ISNUMBER('Cycle
1'!J14:J1069),IF('Cycle 1'!J14:J1069=1,1))))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top