#1
|
|||
|
|||
How to extract names from a list
I have a spreadsheet that has over 5400 rows of entries.
One of the columns is name of a vendor. We have many vendors listed and multiple times. I am looking to see how can I extract the names of the vendors so that I can run a count function. basically, I am looking to get all the entries from the sort drop down box into the spreadsheet. |
#2
|
|||
|
|||
1. Copy the column with names into separate worksheet. Use Remove Duplicates on copied list.
2. Create a Pivot table to count names. Copy names from Pivot table to another location. Or simply use this Pivot whenever you need the Vendor count (you can set filters for Pivot too - e.g. by dates) 3. On another worksheet, create an ODBC query like Code:
SELECT DISTINCT VendorNames From YourTable or Code:
SELECT VendorNames, Count VendorNames From YourTable GROUP BY VendorNames Last edited by ArviLaanemets; 06-06-2018 at 01:26 AM. |
#3
|
||||
|
||||
You can also try
=SUM(IF(FREQUENCY(IF(A2:A11<>"",MATCH(A2:A11,A2:A1 1,0)),ROW(A2:A11)-ROW(A2)+1),1)) (adapt ranges as necessary-unchecked-Commit as array formula with Ctrl+Shift+Enter) which should count the number of distinct vendors in one go
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#4
|
||||
|
||||
Consider also perhaps a Pivot Table. It's the easiest way to get unique list of vendors and corresponding counts in one shot.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
List bookmark names in word doc | Hdata | Word VBA | 2 | 04-11-2015 05:03 AM |
Need to extract two word domains from a list (BULK) | Maxwell314 | Excel | 3 | 12-08-2014 06:17 PM |
Need to extract domain names containing only specific words (MAJOR BULK) | Maxwell314 | Excel | 4 | 12-08-2014 05:10 PM |
Right Click menu list names | jimbassett | Word | 0 | 02-25-2013 02:39 PM |
Random names from a given list | professor snape | Excel | 1 | 06-06-2009 09:39 AM |