Got stuck with SUMPRODUCT - multiple criteria (text/numbers)

MadsHusted

New Member
Joined
Oct 3, 2018
Messages
4
Hi,

I'm working with a SUMPRODUCT formula to sum the total amount of occurrences in my workbook (+3800 lines).

The criteria are:
Array 1; if cell value matches other cell
Array 2; if cell value matches "text"

Either I get #N/A or 0.. I suspect it's related to formating issues but neither TRIM(), TEXT() nor formatting to General works.. I've tried to add ISNUMBER but it returns #VALUE !

I would appreciate any inputs. Let me know if you can't open the file.

Thank you.

Link to OneDrive: https://1drv.ms/x/s!AjXp0Ya_hoO0hmAmQRUzvSGhXNmu
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
A
B
C
D
1
Article codeProduct ABC codeSupplier code
2
2000F34821422CA15837
3
B43108A1BB15837
4
32737CRCN54630
5
AGLA403011P001CA15837
6
SKPF12C08NBB15837
7
KRLP7KRP006BA15837
8
9
10
11
12
13
14
15
Supplier code
AA​
BA​
CA​
16
15837
0​
1​
2​
17
54630
0​
0​
0​

<tbody>
</tbody>

Change in this way



B16=
COUNTIFS($C$2:$C$7,$A16,$B$2:$B$7,B$15) copy across and down




 
Upvote 0

Forum statistics

Threads
1,214,592
Messages
6,120,433
Members
448,961
Latest member
nzskater

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