Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,560
Default Creating a list from multiple (sometimes the same) codes

I have in column A a list of say 100 codes of which many may be duplicated.

I wish to produce in column B an automatic list (produced without further
manual input) using all the different codes in column A

i.e. Answers in column A may be XX12, XX13, XX13, YY45, YY45, YY45, ZZ33 & R45

In column B I want to see a list of items (don't know how they will be
sorted) showing XX12, XX13, YY45, ZZ33 & R45 thus avoiding duplications.

Therefore I don't want to produce a drop down list which requires manual
choices in column B.

How do I do this please?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default Creating a list from multiple (sometimes the same) codes

If you don't want to use Advanced Filter filtering Unique Items - you may
consider:
* Start your 100 item list from cell A2 and down.
2) In cell B2 type:
{=INDEX($A$2:$A$101,MATCH(,COUNTIF($B$1:$B1,$A$2:$ A$101),))}
and copy down until you get an error.
*** This is an array formula, and is to be confirmed with CTRL+SHIFT+ENTER
rather than with simply ENTER.
The curly brackets {} are not to be typed manually, those are entered by the
Excel, when the formula is entered as an Array formula.
Micky


"David" wrote:

I have in column A a list of say 100 codes of which many may be duplicated.

I wish to produce in column B an automatic list (produced without further
manual input) using all the different codes in column A

i.e. Answers in column A may be XX12, XX13, XX13, YY45, YY45, YY45, ZZ33 & R45

In column B I want to see a list of items (don't know how they will be
sorted) showing XX12, XX13, YY45, ZZ33 & R45 thus avoiding duplications.

Therefore I don't want to produce a drop down list which requires manual
choices in column B.

How do I do this please?

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a list of info in A1 cell in multiple worksheets bosch711 Excel Discussion (Misc queries) 4 November 18th 09 11:42 PM
Creating a document to assist with municipal codes LMC[_2_] Setting up and Configuration of Excel 0 October 17th 08 06:41 AM
Creating hyperlinks to a word file with field codes Bobby Excel Discussion (Misc queries) 0 June 26th 08 01:34 PM
Creating UPC Codes... killertofu Excel Discussion (Misc queries) 2 January 31st 06 10:25 PM
Creating drop down list for multiple cell ranges Aaron Saulisberry Excel Discussion (Misc queries) 2 May 1st 05 06:47 PM


All times are GMT +1. The time now is 09:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright 2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"