+ Reply to Thread
Results 1 to 2 of 2

Pull value of a cell and input in another cell that has text in it already?

Hybrid View

  1. #1
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Pull value of a cell and input in another cell that has text in it already?

    This is probably VERY simple but I have not been able to figure it out.

    I have a table of data for items, and in one column I have links that go to webpages for those items. I need to pull the value from a particular cell and input that within a text link in another cell. For example:

    A1 has the value "K111"

    in D1 I need to have a link such as "<a href="http://link/K111>Click Me></a>"

    You'll notice it's link with the K111 value input in it. I need to replace the K111 code that will put the value there. I know how to do this normally but not when it falls within other text. Is this possible?

    Thanks in advance!
    Last edited by NewYears1978; 02-24-2014 at 10:09 PM.

  2. #2
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Pull value of a cell and input in another cell that has text in it already?

    I forgot to say what I tried. I tried this, which works, but since I have quotes in my text it won't work.

    =CONCATENATE("<a href="http://thevacuumdoctors.com/product/",B2,"/>Click Here For More Infor</a>")

    had I just

    =CONCATENATE("Text",B2,"Text")

    Then it would work..those extra quotes from the Hyperlink are throwing me off.

    Uh..I think I figured it out..is this right?

    =CONCATENATE("<a href=""http://thevacuumdoctors.com/product/",B27,"/"">Click Here For More Info</a>")
    Yes this worked. Woooops, sorry for the wasted post. Maybe someone else will find the solution useful
    Last edited by NewYears1978; 02-24-2014 at 10:08 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] loop col. A, start at bottom, pull contents of cell into msgbox, user input, dupe,&again
    By krackaberr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2013, 03:07 PM
  2. Replies: 2
    Last Post: 10-08-2012, 08:10 AM
  3. [SOLVED] Event Macro to insert text in cell based on input of another cell
    By nplouffe in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2012, 11:54 AM
  4. Input cell value from one sheet to another if adjacent cell is specific text
    By TheRoni in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2012, 12:49 AM
  5. Replies: 1
    Last Post: 06-22-2012, 03:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1