Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default find the data


Hi

I have a userform that has a combo box with a range name for the sourc
'*names*' e.g. members if a name is not on the list I can add a new nam
e.g. visitors in the combo box to the list and this is then placed i
the same column A on the worksheet.
On the worksheet column B this is also a named range *code* which is t
denote the type of membership.
What I would like to achieve is for the name entered to be checked of
against the list and provide the correct code from column B.
I have tried Lookup but this does not work I think with the list no
being sorted it creates a problem. It is not possible to have the lis
sorted and both members and visitors names need to be in the sam
column on the same worksheet.

Thanks for any help / advice

--
harry5
-----------------------------------------------------------------------
harry50's Profile: http://www.excelforum.com/member.php...fo&userid=2734
View this thread: http://www.excelforum.com/showthread.php?threadid=46854

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default find the data

Hi Harry,

I have tried Lookup but this does not work I think with the list not
being sorted it creates a problem. It is not possible to have the list
sorted


See Vlookup in Excel help. If you use the fourth parameter and set it to
False, the lookup data does not need to be sorted.


---
Regards,
Norman



"harry50" wrote in
message ...

Hi

I have a userform that has a combo box with a range name for the source
'*names*' e.g. members if a name is not on the list I can add a new name
e.g. visitors in the combo box to the list and this is then placed in
the same column A on the worksheet.
On the worksheet column B this is also a named range *code* which is to
denote the type of membership.
What I would like to achieve is for the name entered to be checked off
against the list and provide the correct code from column B.
I have tried Lookup but this does not work I think with the list not
being sorted it creates a problem. It is not possible to have the list
sorted and both members and visitors names need to be in the same
column on the same worksheet.

Thanks for any help / advice.


--
harry50
------------------------------------------------------------------------
harry50's Profile:
http://www.excelforum.com/member.php...o&userid=27346
View this thread: http://www.excelforum.com/showthread...hreadid=468548



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default find the data


thanks Norman I will give this a try.

The list cannot be sorted as this would mix up the members and the
visitors.


--
harry50
------------------------------------------------------------------------
harry50's Profile: http://www.excelforum.com/member.php...o&userid=27346
View this thread: http://www.excelforum.com/showthread...hreadid=468548

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
Find formatting doesn't work: "Excel cannot find data" Kasama Excel Discussion (Misc queries) 1 August 18th 06 01:40 PM
Despite data existing in Excel 2002 spreadsheet Find doesn't find AnnieB Excel Discussion (Misc queries) 1 June 16th 06 02:15 AM
The match and lookup functions can find literal data but not the same data referenced from a cell Jeff Melvaine Excel Discussion (Misc queries) 3 April 30th 05 01:29 PM
FIND DATA WITHIN DATA (V-OR-H LOOKUP/FIND/MATCH?) Jaladino Excel Worksheet Functions 0 February 22nd 05 11:22 PM
I need to find a macro to find data cut and paste to another colu. Rex Excel Programming 6 December 7th 04 09:22 AM


All times are GMT +1. The time now is 02:52 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"