+ Reply to Thread
Results 1 to 3 of 3

Formula to replace placeholder text in html with dynamic text from another cell

  1. #1
    Registered User
    Join Date
    07-20-2016
    Location
    Bromsgrove
    MS-Off Ver
    Office 365
    Posts
    39

    Formula to replace placeholder text in html with dynamic text from another cell

    I want to edit the description in column D to populate it with the text from column B and C. Ive attached a spreadsheet which hopefully shows what I mean. In D2 Ive got a HTML decription. Ive added {{IMAGE}} and {{ITEM TITLE}} within D. These should be replaced with the text from B2 (Heading {{ITEM TITLE)) and C2 (Heading {{IMAGE}}

    What formula can I use for this?

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Formula to replace placeholder text in html with dynamic text from another cell

    hi there. does this help you?
    =SUBSTITUTE(SUBSTITUTE(D2,"{{ITEM TITLE}}",B2),"{{IMAGE}}",C2)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    07-20-2016
    Location
    Bromsgrove
    MS-Off Ver
    Office 365
    Posts
    39

    Re: Formula to replace placeholder text in html with dynamic text from another cell

    worked a treat thanks

+ 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] Placeholder text
    By Retroshift in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-20-2017, 07:41 PM
  2. [SOLVED] Default template placeholder text
    By Kyle123 in forum PowerPoint Formatting & General
    Replies: 1
    Last Post: 03-15-2017, 10:08 AM
  3. [SOLVED] VBA replace text command to replace a formula with text
    By MikeSta4ord in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2015, 01:08 PM
  4. VBA to open saved web html pages - extract text - paste text within individual cell
    By EddieRubi in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-23-2015, 01:43 PM
  5. Replace Text in A Formula with the text in a cell
    By Hadoushi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-07-2015, 09:21 AM
  6. Replace Placeholder Text
    By domino01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-30-2013, 11:52 AM
  7. delete row of text with 3 macros & [placeholder]
    By Janis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-18-2006, 03:30 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