+ Reply to Thread
Results 1 to 4 of 4

Adding Text to Beginning of the Cell if not Blank - Then Combining Cells

  1. #1
    Registered User
    Join Date
    09-11-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    14

    Question Adding Text to Beginning of the Cell if not Blank - Then Combining Cells

    Hello,

    I have exported some product image urls in an excel sheet. The issue is that the urls are partial & do not contain the beginning of the url. I used the concatenate function to fix them, but the formula is applied when the cell is blank. I also want to combine all the urls in one cell separated by commas & I can't figure out how. Here's a sample of what I'm looking for.
    sample2.xlsx

  2. #2
    Registered User
    Join Date
    09-11-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Adding Text to Beginning of the Cell if not Blank - Then Combining Cells

    Bump! Any help would be much appreciated.

  3. #3
    Registered User
    Join Date
    09-10-2013
    Location
    INDIA
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    7

    Re: Adding Text to Beginning of the Cell if not Blank - Then Combining Cells

    Hi,


    If you have only 3 column as mention in sample excel then use given below formula . Hope this help you.

    Formula

    =IF(ISBLANK(A1),"","mysite.com/"&A1)&IF(ISBLANK(B1),"",", mysite.com/"&B1&IF(ISBLANK(C1),"",", mysite.com/"&C1))


    Thanks
    Tanuj

  4. #4
    Registered User
    Join Date
    09-11-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Adding Text to Beginning of the Cell if not Blank - Then Combining Cells

    Quote Originally Posted by Tanujkumar88 View Post
    Hi,


    If you have only 3 column as mention in sample excel then use given below formula . Hope this help you.

    Formula

    =IF(ISBLANK(A1),"","mysite.com/"&A1)&IF(ISBLANK(B1),"",", mysite.com/"&B1&IF(ISBLANK(C1),"",", mysite.com/"&C1))


    Thanks
    Tanuj
    This worked perfectly, thank you!

+ 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. Replies: 3
    Last Post: 06-25-2014, 03:35 PM
  2. [SOLVED] Help combining multiple text cells if 2 are blank
    By njleach in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-15-2013, 03:00 AM
  3. adding spaces to beginning text
    By Bilbo Baggins in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-07-2013, 02:20 AM
  4. Excel 2007 : Adding Text To The Beginning of a column
    By windley in forum Excel General
    Replies: 10
    Last Post: 04-04-2011, 09:05 PM
  5. how to prevent blank cell copied when combining cells?
    By Vicneswari Murugan in forum Excel General
    Replies: 2
    Last Post: 08-18-2005, 09:05 AM

Tags for this Thread

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