Supplier List

carrrrlitos17

New Member
Joined
Jul 7, 2022
Messages
15
Office Version
  1. 365
Platform
  1. Windows
I want to make a data base for suppliers I potentially have. On the table portion I have the companies, contact name, contact email, and contact phone number listed out. (Check out img Table) The issue I currently face is that companies provide more than one needed product. I want to make another sheet where it simplifies and combines the info I have in the table by company. First I used UNIQUE to list out all the companies. Then I used a TEXTJOIN and FILTER function I found online to list every item in one cell (Check Other Sheet Image). The problem occurs when I try going into Contact and Email and telephone, I used the same formula standard as I did for goods/services but of course, get duplicate contacts, when I just want it to show it once. Sadly, certain contact info is missing from companies, so I can't use UNIQUE.

All in all essentially, I need a way to list the contact's name according to the company, and leave it blank if it is blank and move to the next row.
 

Attachments

  • Table.png
    Table.png
    140.8 KB · Views: 15
  • New SHeet.png
    New SHeet.png
    54.6 KB · Views: 15

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi & welcome to MrExcel.
You can use Unique, as long as you put "" as the 3rd argument in the Filter function.
If you need help with that please post your formula.
 
Upvote 0
Hi & welcome to MrExcel.
You can use Unique, as long as you put "" as the 3rd argument in the Filter function.
If you need help with that please post your formula.
Sorry not sure if I understood, I currently have =TEXTJOIN(CHAR(10),,FILTER(Table2[Contact],Table2[Company]='Supplier Breakdown'!A3)) in Column C. But it is giving me duplicate info as is shown in the column in "New Sheet"
 
Upvote 0
How about
Excel Formula:
=TEXTJOIN(CHAR(10),,UNIQUE(FILTER(Table2[Contact],Table2[Company]=A3,"")))
You should never refer to the name of the sheet the formula is on
 
Upvote 0
Solution
How about
Excel Formula:
=TEXTJOIN(CHAR(10),,UNIQUE(FILTER(Table2[Contact],Table2[Company]=A3,"")))
You should never refer to the name of the sheet the formula is on
Brilliant that did the trick! I didn't even realize it referred to the sheet, I was just clicking. Thank you so much!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,618
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