#1   Report Post  
AWS
 
Posts: n/a
Default vlookup

In one cell i have a code(eg DR****W) you can select from a drop down list
In another cell I have a webpage name(eg home, photo gallery etc). each
webpage has a code (home = _home, photo gallery = _photo etc) which is in a
list

Home _home
Photo Gallery _photo
Accomodation _accom

I would like to have a cell import the code and a related code to the page
name
together to show DR****W_home, DR****W_photo etc.

DR****W Photo Gallery DR****W_photo.

Is there a way of using vlookup for this?
  #2   Report Post  
paul
 
Posts: n/a
Default

sure...
your formula would look something like this
assuming the return cell for your dropdown code list is A1 and your webpage
name is shown in B1, your table is A3:B5 ,in C1 type
=A1&vlookup(B1,A3:B5,2,false)
--
paul
remove nospam for email addy!



"AWS" wrote:

In one cell i have a code(eg DR****W) you can select from a drop down list
In another cell I have a webpage name(eg home, photo gallery etc). each
webpage has a code (home = _home, photo gallery = _photo etc) which is in a
list

Home _home
Photo Gallery _photo
Accomodation _accom

I would like to have a cell import the code and a related code to the page
name
together to show DR****W_home, DR****W_photo etc.

DR****W Photo Gallery DR****W_photo.

Is there a way of using vlookup for this?

  #3   Report Post  
AWS
 
Posts: n/a
Default

Thanks Paul I was almost right

I was missing the & symbol, doh

"paul" wrote:

sure...
your formula would look something like this
assuming the return cell for your dropdown code list is A1 and your webpage
name is shown in B1, your table is A3:B5 ,in C1 type
=A1&vlookup(B1,A3:B5,2,false)
--
paul
remove nospam for email addy!



"AWS" wrote:

In one cell i have a code(eg DR****W) you can select from a drop down list
In another cell I have a webpage name(eg home, photo gallery etc). each
webpage has a code (home = _home, photo gallery = _photo etc) which is in a
list

Home _home
Photo Gallery _photo
Accomodation _accom

I would like to have a cell import the code and a related code to the page
name
together to show DR****W_home, DR****W_photo etc.

DR****W Photo Gallery DR****W_photo.

Is there a way of using vlookup for this?

  #4   Report Post  
AWS
 
Posts: n/a
Default

It works a treat..........BUT

Would you know how to make it not show #N/A when one of the cells is blank?


"paul" wrote:

sure...
your formula would look something like this
assuming the return cell for your dropdown code list is A1 and your webpage
name is shown in B1, your table is A3:B5 ,in C1 type
=A1&vlookup(B1,A3:B5,2,false)
--
paul
remove nospam for email addy!



"AWS" wrote:

In one cell i have a code(eg DR****W) you can select from a drop down list
In another cell I have a webpage name(eg home, photo gallery etc). each
webpage has a code (home = _home, photo gallery = _photo etc) which is in a
list

Home _home
Photo Gallery _photo
Accomodation _accom

I would like to have a cell import the code and a related code to the page
name
together to show DR****W_home, DR****W_photo etc.

DR****W Photo Gallery DR****W_photo.

Is there a way of using vlookup for this?

  #5   Report Post  
comotoman
 
Posts: n/a
Default


this should help,

=if(iserror(your_formula)," ",your_formula)


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=468360



  #6   Report Post  
AWS
 
Posts: n/a
Default

Did the job nicely, ty much :)

"comotoman" wrote:


this should help,

=if(iserror(your_formula)," ",your_formula)


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=468360


  #7   Report Post  
AZExcelNewbie
 
Posts: n/a
Default

When using your suggestion Excel doesn't like the " " and will not allow it
in the formula. Here is my formula:
=IF(ISERROR(VLOOKUP($A6,'Sept 9'!$A$1:$U$47,14,FALSE),"",VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE)

"AWS" wrote:

Did the job nicely, ty much :)

"comotoman" wrote:


this should help,

=if(iserror(your_formula)," ",your_formula)


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=468360


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
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


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