+ Reply to Thread
Results 1 to 6 of 6

Using Textjoin to Extract Values in Col E1 to G50 in B2

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,765

    Using Textjoin to Extract Values in Col E1 to G50 in B2

    I have values in E1 to up to maximum range of G50

    I want to extract these in B2 going across i.e for the three columns showing the headings and the values below the headers


    I have managed to use this formula below but it does not align the numbers neatly below the headers


    Please Login or Register  to view this content.

    I have shown in B4 how I would like it to look like

    It would be appreciated if someone could kindly amend my formula

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,610

    Re: Using Textjoin to Extract Values in Col E1 to G50 in B2

    Why???

    What's the objective? Are you trying to create a label of some sort?

    This is going to be impossible without VBA, I think - the minute a column width is changed, whatever you do will get wrecked. You cannot force alignment using a formula, unfortunately.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    2,047

    Re: Using Textjoin to Extract Values in Col E1 to G50 in B2

    I tried two textjoins

    =TEXTJOIN(REPT(" ",14),FALSE,$E$1:$G$1)&CHAR(10)&TEXTJOIN(REPT(" ",24),FALSE,E2:G2)

  4. #4
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,765

    Re: Using Textjoin to Extract Values in Col E1 to G50 in B2

    This is brilliant-many thanks for the help

  5. #5
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,765

    Re: Using Textjoin to Extract Values in Col E1 to G50 in B2

    Hi Ali

    I use cell B2 and wrap the text to fit the data into this cell and name the cell and use this to import the data into the body of an email using VBA

  6. #6
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    2,047

    Re: Using Textjoin to Extract Values in Col E1 to G50 in B2

    You're welcome

+ 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] Lookup return multiple values with TEXTJOIN
    By yarlachiru in forum Excel General
    Replies: 9
    Last Post: 06-06-2023, 03:17 AM
  2. [SOLVED] TEXTJOIN but only unique values
    By gotmort in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-15-2022, 09:15 AM
  3. [SOLVED] Formula to TEXTJOIN if column contains the same values
    By YMUNSHI in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-26-2021, 10:23 PM
  4. [SOLVED] formula to extract, count then textjoin
    By aan.isnaini in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 12-08-2021, 03:15 PM
  5. [SOLVED] TEXTJOIN - getting 1 occurrence of duplicate values only
    By aTRc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2019, 03:36 AM
  6. [SOLVED] textjoin on unique values
    By richx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2019, 09:47 AM
  7. Arrayfunction TEXTJOIN only receive unique values
    By Nora Kro in forum Excel General
    Replies: 2
    Last Post: 08-21-2018, 11:21 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