+ Reply to Thread
Results 1 to 9 of 9

Transpose Formula for Values in Range

  1. #1
    Registered User
    Join Date
    03-28-2017
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    38

    Transpose Formula for Values in Range

    Hello, I am trying to use the Transpose function to place values from several cells into a single cell if they are between a specific range.

    Please see attached example sheet with manually input "Output Required".

    As always, any help is much appreciated.

    I have "Positions" in Column A which will fall into various Sections "Column C" as dictated by the Range "From" and "To" in Columns D and E.

    My formula I am using for the output only returns a single value rather than a range?

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Transpose Formula for Values in Range

    Hi,

    So you want the returns in a single cell? And without any form of separator, as in your one example?

    With Excel 2010, you'll only be able to do that with VBA. Is that something you're ok with? Otherwise, it's quite straightforward to have each return placed into its own cell, e.g. in consecutive columns to the right of each entry.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Transpose Formula for Values in Range

    I think you'll need to use TEXTJOIN (if you have the right version of Excel) or VBA for this rather than a straightforward formula.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    03-28-2017
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    38

    Re: Transpose Formula for Values in Range

    Correct but I would rather not use VBA (no experience of it) and I do not have the ExCel Verizon which supports TEXTJOIN.
    I have additional columns I would also like the same done to so could do with a formula if its possible..

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Transpose Formula for Values in Range

    In F2:

    =IF(COLUMNS($A2:A2)>COUNTIFS($A$2:$A$422,">="&$D2,$A$2:$A$422,"<="&$E2),"",INDEX($A:$A,AGGREGATE(15,6,ROW(A$2:A$422)/($A$2:$A$422>=$D2)/($A$2:$A$422<=$E2),COLUMNS($A2:A2))))

    Copy to the right until you start to get blanks for the results and also down to give similar results for rows 3, 4, etc.

    Regards

  6. #6
    Registered User
    Join Date
    03-28-2017
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    38

    Re: Transpose Formula for Values in Range

    Thanks that's great but I want all values in a single cell rather than multiple columns?

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Transpose Formula for Values in Range

    But you said you have Excel 2010 and also that you'd rather not use VBA?

    Regards

  8. #8
    Registered User
    Join Date
    03-28-2017
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    38

    Re: Transpose Formula for Values in Range

    Sorry yes that is correct but with the formula you have suggested all values are in new columns rather than a single cell, which means I need to combine them again...

  9. #9
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Transpose Formula for Values in Range

    But as I explained in post #2, to put them in a single cell can only be done with either Excel 2016+Office 365 or else VBA.

    Regards

+ 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. Listing all values within a range and transpose/extrapolate a list
    By arundharmarajan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-13-2018, 07:55 PM
  2. [SOLVED] Transpose named range into new sheet (Values only)
    By ksayet in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-11-2015, 05:22 PM
  3. Replies: 1
    Last Post: 02-12-2015, 01:49 PM
  4. transpose column to a range calculate and transpose to new table loop
    By moshro1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2015, 10:52 AM
  5. [SOLVED] Transpose set range of values across in a single specified row
    By coreytroy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-13-2012, 07:11 PM
  6. How to copy Transpose formula down to new range
    By arminbkk in forum Excel General
    Replies: 0
    Last Post: 10-10-2011, 01:06 PM
  7. copy, split and transpose a range of values
    By Lucas Budlong in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-05-2006, 06:40 AM

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