Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Array Substitution Based on Drop Down List

I have created a drop down list in excel cell A1 which contains a validated
list from cells D1 through D3. The values of D1 through D3 are cat, puppy,
and parrot respectively. Cells E1 through E3 contains hidden values which I
want to substitute later. These values are feline, dog and bird respectively.

So, if the user chooses "cat" from the drop-down, I want to do something
like =CONCATENATION($A1,"http://www.petsite.org/",????????????) that will
result in the cell containing http://www.petsite.org/feline as a hyperlink.
Obviously if the user puppy or parrot the respective entry would be
substituted.

Thanks in advance, Royce
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Array Substitution Based on Drop Down List

Try this...

Use cell B1 as the hyperlink.

Enter this formula in B1:

=IF(A1="","",HYPERLINK("http://www.petsite.org/"&VLOOKUP(A1,D1:E3,2,0)))

--
Biff
Microsoft Excel MVP


"Royce Edwards" <Royce wrote in message
...
I have created a drop down list in excel cell A1 which contains a validated
list from cells D1 through D3. The values of D1 through D3 are cat,
puppy,
and parrot respectively. Cells E1 through E3 contains hidden values which
I
want to substitute later. These values are feline, dog and bird
respectively.

So, if the user chooses "cat" from the drop-down, I want to do something
like =CONCATENATION($A1,"http://www.petsite.org/",????????????) that will
result in the cell containing
http://www.petsite.org/feline as a
hyperlink.
Obviously if the user puppy or parrot the respective entry would be
substituted.

Thanks in advance, Royce



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
drop down list based on other drop down list pick Ruth Excel Discussion (Misc queries) 1 August 25th 09 04:12 PM
duplicate an array and filter the list based on a grouping [email protected] Excel Worksheet Functions 7 June 20th 08 05:20 PM
count based on selection from drop down list lovejunkie02 Excel Worksheet Functions 2 September 21st 07 10:04 PM
Update Formula's based on drop down list value Steven Taylor Excel Worksheet Functions 3 July 15th 07 01:48 AM
Character Substitution in Array BillCPA Excel Discussion (Misc queries) 1 December 7th 06 01:34 PM


All times are GMT +1. The time now is 06:04 PM.

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

About Us

"It's about Microsoft Excel"