Wrong Result

gymwrecker

Active Member
Joined
Apr 24, 2002
Messages
396
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Need help with this formula.

=SUMPRODUCT(ISNUMBER(SEARCH("*0070*",Master!$A$2:$A$1000))*ISNUMBER(SEARCH("*OD*",Master!$K$2:$K$1000)))

The above formula is returning a result of 1; I counted the cells that meet the above criteria, and the correct number is 3. What could be wrong? Seems to me that the formula is not counting everything. Please assist....
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Where do the *0070* numbers come from? If the leading numbers come from formatting numeric cells, they won't be seen by the formula.
 
Upvote 0
What are some examples of the data in col A?
 
Upvote 0
Column A has the following; around 600 rows...

0084 TRAINING COMMAND (UR)
0070 TRAINING DIV HQ (-) (FT)
0078 TRAINING DIV (OPERATIONS)
0086 TRAINING DIV (OPERATIONS)
0091 TRAINING DIV (OPERATIONS)
 
Upvote 0
That should work fine.

I'd suggest you reduce the data ranges to just a few rows, and then watch the formula evaluate with the Evaluate button on the formula auditing toolbar.
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,741
Members
452,940
Latest member
rootytrip

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