match index vlookup

awiseman2

New Member
Joined
Mar 28, 2019
Messages
2
I have a sku that i want to look up in a range and i want the find the amount of a certain supplier attached to that sku in the range, Does anyone know how to do this
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
There are plenty of members here who could help, but you need to supply more information, such as what columns does the formula need to look at.
It would also help if you could post a small amount of data ( approx 15 rows) to the thread. There are some add-ins available here to help you do that. https://www.mrexcel.com/forum/about-board/508133-attachments.html
 
Upvote 0
Apologies i'm new to this.
On sheet 1 i have unique values as i have removed all the duplicate values.
Unique values
Sku 1
Sku 2
Sku 3
Sku 4
Sku 5

I want to the look up the list of sku in sheet 2, which has multiple entries with different suppliers attached to them, i want to bring across to sheet 1 the count of a certain supplier (unique value) that has multiple entries next to that sku.
Multiple Values Suppliers name
Sku 1 Supplier 1
Sku 2 Supplier 1
Sku 3 Supplier 2
Sku 3 Supplier 2
Sku 4 Supplier 4
Sku 1 Supplier 1
Sku 3 Supplier 1
Sku 5 Supplier 1
Sku 5 Supplier 4
Sku 2 Supplier 1
Sku 5 Supplier 3
Sku 2 Supplier 2
Sku 3 Supplier 1
Sku 2 Supplier 4
Sku 1 Supplier 3

This is the outcome i want

Unique values Supplier 1 Supplier 2 Supplier 3 Supplier 4
Sku 1 2 0 1 0
Sku 2 3 1 0 4
Sku 3 2 2 0 0
Sku 4 0 0 0 1
Sku 5 0 0 2 1
 
Upvote 0
Maybe...

Formula in Sheet1 B2 copied across and down
=COUNTIFS(Sheet2!$A:$A,$A2,Sheet2!$B:$B,B$1)

M.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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