Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.misc
Hari
 
Posts: n/a
Default Extracting unique entries and assigning it to a named range

Hi,

(Im cross-posting it to Misc group).

I want to create a name in the named box which would store unique list
of values from a range lets say A1: A100. Im thinking of using this
name in a validation drop-down box as listed in Contextures site. What
kind of formula can I write in the named box which would help me
achieve this. I want to avoid using using worksheet real estate to do
the calculations and still be able to keep my named range dynamic so
that if A1:A100 increases to a1:A1000 my validation box remains
current.

(I have also seen the Uniqueitems function code in
http://www.j-walk.com/ss/excel/tips/tip15.htm but prefer a code less
solution.)

Please guide me.

Regards,
Hari
India

Hari wrote:
Patrick and keepITcool,

Thanks for a detailed solution using dictionary method.

Im sorry, actually I need to send this across to somebody else and
prefer not instructing the other person to add references to in their
VB (the person wouldnt like to get in to VB environment). Hence, a
formula based solution (or if not possible then a code which would
return an array without setting of references) would be preferable.
(Can the formula based soltuion be made dynamic using a variant of
indirect formula, so that if list changes from A1:A1000 then also it
works.)

(actually am planing to use this unique list in a validation box.)

Regards,
Hari
India

PS: I should have posted it to Misc group rather than programming group.


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
Assigning numbers to spreadsheet entries... J. Gutierrez Excel Discussion (Misc queries) 2 November 18th 05 05:32 PM
assigning a unique value Dino Excel Worksheet Functions 27 May 7th 05 12:12 AM
How to validate data entries to be unique within an array Dwight at Boeing Excel Worksheet Functions 1 February 15th 05 06:30 PM


All times are GMT +1. The time now is 10:26 PM.

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"