Database

PatrickTT

New Member
Joined
Oct 7, 2020
Messages
19
Office Version
  1. 365
Platform
  1. Windows
Hi,

I need to show how many suppliers there are of particular ingredients. Some ingredients may have one supplier or there may be two suppliers of a particular ingredient. See sample table below. What's the easiest way to do this? If I do a VLOOKUP it will only pull up one supplier for tomatoes (see table below).

I have a feeling I should be using Pivot...

IngredientSupplier
TomatoesJohnson & sons
TomatoesMD supplies
OrangesMD supplies
ApplesTom's Fresh fruit & Veg
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
How about
Fluff.xlsm
ABCDEF
1IngredientSupplier
2TomatoesJohnson & sonsTomatoes2
3TomatoesMD supplies
4OrangesMD supplies
5ApplesTom's Fresh fruit & Veg
6
Report
Cell Formulas
RangeFormula
F2F2=ROWS(UNIQUE(FILTER(B2:B100,A2:A100=E2)))
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0
If I need to sum the values of each ingredient, and some ingredients are sourced from multiple suppliers, what is the easiest way to do this?

IngredientSupplierVolume
TomatoesJohnson & sons
200​
TomatoesMD supplies
150​
OrangesMD supplies
10​
ApplesTom's Fresh fruit & Veg
20​
 
Upvote 0
As this is a different question, it needs a new thread. Thanks
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,619
Members
449,238
Latest member
wcbyers

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