+ Reply to Thread
Results 1 to 7 of 7

Double IF Then Concatenate Scenarios

  1. #1
    Registered User
    Join Date
    09-14-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    39

    Question Double IF Then Concatenate Scenarios

    Hi guy's I have a really simple problem here

    I am looking to concatenate based off of 2 different values.

    for instance

    Double if(concatenate.jpg

    I need all of the Cells in Column C to copy Column B and add a -R

    If I use this formula in cell C1 then It will populate everything except for the cells in columns A that have the text 617.


    =IF(A1=139973,CONCATENATE(B2,"-R"))

    I have also attached the file
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,819

    Re: Double IF Then Concatenate Scenarios

    Put this in C2:

    =IF(OR(A2="",A2=617),"",B2 & "-R")

    then copy down as far as you like.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    09-14-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    39

    Re: Double IF Then Concatenate Scenarios

    I pasted the above formula and this is the results

    Double if(concatenate.jpg

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,819

    Re: Double IF Then Concatenate Scenarios

    I can't read your screenshot.

    Does it do what you wanted? If it does, then you can mark this thread as solved (see below). If it doesn't, you need to describe your requirements more clearly.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark this thread as SOLVED.

    Also, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  5. #5
    Registered User
    Join Date
    09-14-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    39

    Re: Double IF Then Concatenate Scenarios

    I apologize, The rows that contain 617 are being left blank while the other ones are populating correctly

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,628

    Re: Double IF Then Concatenate Scenarios

    Your pictures indicate that column B is appended with -R no matter what's in column A. What would be in A that will cause column C to be blank?
    Ben Van Johnson

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,819

    Re: Double IF Then Concatenate Scenarios

    Quote Originally Posted by MusicJunky View Post
    ... The rows that contain 617 are being left blank while the other ones are populating correctly
    I thought that was what you were asking for in your first post. Use this instead in C2:

    =IF(A2="","",B2 & "-R")

    Hope this helps.

    Pete

+ 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. Concatenate with Double Info in Concatenate Cell
    By MRoz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-10-2015, 02:07 PM
  2. Double click cell - copy data to new sheet - create a list from double clicking
    By kakky in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-04-2015, 11:14 PM
  3. Removing double-ups from Concatenate User defined function (UDF)
    By Spicey_888 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2015, 04:57 AM
  4. [SOLVED] Before double click event with if statements (Double clicking blank cell stops bdc firing)
    By camdenpars in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-27-2014, 09:03 AM
  5. Copy double-clicked cell to next empty row in different sheet with each double-click
    By erhathaway in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-25-2013, 12:06 AM
  6. Double stack and double line graph
    By Karen311261 in forum Excel General
    Replies: 5
    Last Post: 10-06-2010, 11:58 AM
  7. [SOLVED] Concatenate columns, separated by double quotes
    By Felicia in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-20-2005, 03:06 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