Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-05-2018, 10:09 AM
flyoverrunner flyoverrunner is offline How to extract names from a list Windows 10 How to extract names from a list Office 2016
Novice
How to extract names from a list
 
Join Date: Jun 2018
Posts: 1
flyoverrunner is on a distinguished road
Question 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.
Reply With Quote
  #2  
Old 06-05-2018, 10:52 AM
ArviLaanemets ArviLaanemets is offline How to extract names from a list Windows 8 How to extract names from a list Office 2016
Expert
 
Join Date: May 2017
Posts: 874
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

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
where YourTable is your Excel table, and VendorNames the column with names in it.
or
Code:
SELECT VendorNames, Count VendorNames From YourTable GROUP BY VendorNames
You can set the query to be refreshed on Open, and you can refresh it manually whenever you want (right-click on query table, and select Refresh from dropdown menu).

Last edited by ArviLaanemets; 06-06-2018 at 01:26 AM.
Reply With Quote
  #3  
Old 06-05-2018, 11:21 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How to extract names from a list Windows 7 64bit How to extract names from a list Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,780
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

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
Reply With Quote
  #4  
Old 06-06-2018, 04:54 AM
NBVC's Avatar
NBVC NBVC is offline How to extract names from a list Windows 10 How to extract names from a list Office 2013
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

Consider also perhaps a Pivot Table. It's the easiest way to get unique list of vendors and corresponding counts in one shot.
Reply With Quote
Reply



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
How to extract names from a list 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
How to extract names from a list Random names from a given list professor snape Excel 1 06-06-2009 09:39 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft