+ Reply to Thread
Results 1 to 9 of 9

Excel Concatenante/IF/Textjoin Help

  1. #1
    Registered User
    Join Date
    03-21-2022
    Location
    Jacksonville, FL
    MS-Off Ver
    2022
    Posts
    6

    Excel Concatenante/IF/Textjoin Help

    I'm trying to get some help with a concatenate / IF formula on a spreadsheet that I'm working on. Basically, what I need is to populate a field with user input only if they enter a value in a different field. I also need this field to populate text that I enter in the formula only if the user puts a value into the original field. Below is a example:

    A B C
    1 OBJECT VLAN NAME INPUT WHAT IM TRYING TO ACHIEVE
    2
    3 VLAN # 10 If there's input in B3 this field (C3) should read -VLAN- "B3" If no input is entered in "B3" this field (C3) should be blank


    Capture.PNG
    Last edited by jgrays; 03-21-2022 at 01:11 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Excel Concatenante/IF/Textjoin Help

    Is this what you want:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-21-2022
    Location
    Jacksonville, FL
    MS-Off Ver
    2022
    Posts
    6

    Re: Excel Concatenante/IF/Textjoin Help

    Hey TMS, no not quite. Below is what I get with that (your formula is on G3)

    Attachment 773490

    Basically all I need is if there is an entry in the B3 field I need the output to read "VLAN (B3)" meaning I need the word VLAN to be added and the B3 field text added after it.
    If there is no text entry in the B3 field I need to formula output to read Blank.

    I have it close in a different spreadsheet, issue is if the field is blank, like B3 in this example, the word VLAN is still present and I need it to be blank. If there is input on the B3 type of field then it works correctly:

    =TEXTJOIN(",",TRUE,"VLAN ",Input!B7)

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Excel Concatenante/IF/Textjoin Help

    The attachment didn’t work.


    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Excel Concatenante/IF/Textjoin Help

    Your requirement was not clear.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-21-2022
    Location
    Jacksonville, FL
    MS-Off Ver
    2022
    Posts
    6

    Re: Excel Concatenante/IF/Textjoin Help

    Refer to the attached, The formula I have currently works if there is input, but if there is no input I need it to be a blank field, currently if it's blank it will still read "VLAN" in that field.
    Attached Files Attached Files

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Excel Concatenante/IF/Textjoin Help

    Did you see post #5?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    03-21-2022
    Location
    Jacksonville, FL
    MS-Off Ver
    2022
    Posts
    6

    Re: Excel Concatenante/IF/Textjoin Help

    That one worked, post 5 didn't but that one does, gave a false value. Many thanks for the help.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,420

    Re: Excel Concatenante/IF/Textjoin Help

    Your original post didn't mention multiple sheets. The formula was based on the "information" in the picture. Can't see why it would give a FALSE value … it's a very simple IF with two possible outcomes. The only issue would have been the fact that it didn’t refer to Sheet1.


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Excel 2016 - textjoin emails from different rows into one cell depending on their group
    By MinisoftEggshell in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-07-2022, 04:32 AM
  2. [SOLVED] Concatenate If Mimic TextJoin Have to use Excel 2013
    By thenewkidd in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-17-2022, 12:47 PM
  3. Need TextJoin Alternative for MS Excel 2016
    By dmartin55 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 07-06-2021, 02:15 AM
  4. [SOLVED] TEXTJOIN for Excel 2013
    By reddwarf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-12-2020, 06:38 AM
  5. [SOLVED] Using Excel 2010 with multiple "if" & need all results in one cell, can't use textjoin
    By arcarc1309 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-06-2020, 12:57 PM
  6. Use two conditions in textjoin function in excel 2013.
    By magfas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-15-2018, 04:42 PM
  7. Using TextJoin (Excel 2016) in VBA
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-21-2017, 06:52 PM

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