Need Help with copying list

%3CLINGO-SUB%20id%3D%22lingo-sub-1593669%22%20slang%3D%22en-US%22%3ENeed%20Help%20with%20copying%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1593669%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20workbook%20with%20two%20sheets%20(A%20and%20B)%20on%20sheet%20A%20I%20have%20a%20column%20that%20has%20lots%20of%20Locations%2C%20some%20of%20which%20repeat.%20On%20sheet%20B%20I%20would%20like%20to%20have%20a%20column%20that%20auto-populates%20with%20the%20Locations%20from%20sheet%20A%20without%20repeating%20them.%20How%20do%20I%20do%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1593669%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1593707%22%20slang%3D%22en-US%22%3ERE%3A%20Need%20Help%20with%20copying%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1593707%22%20slang%3D%22en-US%22%3Eif%20you%20have%20the%20most%20current%20version%20of%20Excel%2C%20the%20UNIQUE%20function%20will%20serve%20your%20purposes%20perfectly.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1593729%22%20slang%3D%22en-US%22%3ERE%3A%20Need%20Help%20with%20copying%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1593729%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3Bwhen%20I%20use%20this%20function%20I%20get%20a%20spill%20error%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1593754%22%20slang%3D%22en-US%22%3ERE%3A%20Need%20Help%20with%20copying%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1593754%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F762178%22%20target%3D%22_blank%22%3E%40AStengel%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you're%20getting%20the%20SPILL%20error%20that's%20a%20good%20thing.%20It%20means%20the%20function%20is%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20just%20need%20to%20clear%20all%20the%20space%20below%20so%20that%20your%20full%20list%20of%20unique%20locations%20has%20room%20to%20get%20listed.%20(And%20clear%20to%20the%20right%20if%20you're%20looking%20for%20more%20than%20the%20location%20names)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1593756%22%20slang%3D%22en-US%22%3ERE%3A%20Need%20Help%20with%20copying%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1593756%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3BI%20got%20it%20to%20work%20properly%20but%20when%20I%20format%20it%20as%20a%20table%20(so%20I%20can%20sort%20it)%20it%20no%20longer%20works.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1593780%22%20slang%3D%22en-US%22%3ERE%3A%20Need%20Help%20with%20copying%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1593780%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F425987%22%20target%3D%22_blank%22%3E%40mathetes%3C%2FA%3E%26nbsp%3BAlso%20I%20don't%20think%20this%20function%20is%20doing%20what%20I%20desire.%20It%20is%20only%20showing%20me%20locations%20that%20appeared%20once%20on%20Sheet%20A.%20I%20want%20to%20see%20every%20location%20on%20Sheet%20A%20but%20only%20have%20them%20on%20Sheet%20B%20once%2C%20instead%20of%20multiple%20times.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1594146%22%20slang%3D%22en-US%22%3ERE%3A%20Need%20Help%20with%20copying%20list%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1594146%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F762178%22%20target%3D%22_blank%22%3E%40AStengel%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20do%20realize%20that%20without%20your%20actual%20spreadsheets%2C%20I'm%20working%20in%20the%20dark%2C%20so%20to%20speak.%3C%2FP%3E%3COL%3E%3CLI%3Ethe%20UNIQUE%20function%20will%20indeed%20give%20you%20on%20Sheet%20B%20one%20instance%20of%20%3CSTRONG%3Eeach%3C%2FSTRONG%3E%20name%20that%20appears%20on%20Sheet%20A%2C%20regardless%20of%20how%20many%20times%20it%20appears%20on%20Sheet%20A.%20That%20is%2C%20it%20will%20do%20what%20you're%20seeking.%20Check%20how%20you've%20entered%20it.%3C%2FLI%3E%3CLI%3EIf%20you%20want%20to%20sort%20the%20results%20and%20then%20make%20them%20part%20of%20a%20table%2C%20you%20need%20I%20think%20to%20do%20a%20Copy...Paste%20Special...values%20only.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I have a workbook with two sheets (A and B) on sheet A I have a column that has lots of Locations, some of which repeat. On sheet B I would like to have a column that auto-populates with the Locations from sheet A without repeating them. How do I do this?

6 Replies
if you have the most current version of Excel, the UNIQUE function will serve your purposes perfectly.

@mathetes when I use this function I get a spill error

 

@AStengel 

 

If you're getting the SPILL error that's a good thing. It means the function is working.

 

You just need to clear all the space below so that your full list of unique locations has room to get listed. (And clear to the right if you're looking for more than the location names)

@mathetes I got it to work properly but when I format it as a table (so I can sort it) it no longer works.

@mathetes Also I don't think this function is doing what I desire. It is only showing me locations that appeared once on Sheet A. I want to see every location on Sheet A but only have them on Sheet B once, instead of multiple times.

@AStengel 

 

You do realize that without your actual spreadsheets, I'm working in the dark, so to speak.

  1. the UNIQUE function will indeed give you on Sheet B one instance of each name that appears on Sheet A, regardless of how many times it appears on Sheet A. That is, it will do what you're seeking. Check how you've entered it.
  2. If you want to sort the results and then make them part of a table, you need I think to do a Copy...Paste Special...values only.