+ Reply to Thread
Results 1 to 6 of 6

Transpose cells based on column containing particular value

  1. #1
    Registered User
    Join Date
    03-28-2018
    Location
    australia
    MS-Off Ver
    Office 360
    Posts
    3

    Post Transpose cells based on column containing particular value

    Hi all,

    First time poster!!

    I have a data source containing transactional data. Users may input a project code.

    If a user has input a project code, i would like that value to transpose beside the other information known as cost centre. The way data exports now, it drops down a row and i need a single row to contain all transaction data (see transaction reference).

    In theory, if project code appears, transpose the cell beside it, and up one row. Workbook shows structure.

    Hoping to keep it simple with a formula - thanks for all your help!!

    Cheers

    Gav
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Transpose cells based on column containing particular value

    Try

    C2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Copy across
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Transpose cells based on column containing particular value

    You can't move data with a formula, as you seem to require. Using a formula, you can replicate the data where you want it, but not remove it from where it is currently, although you could do so later if you wanted to.
    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.

  4. #4
    Registered User
    Join Date
    03-28-2018
    Location
    australia
    MS-Off Ver
    Office 360
    Posts
    3

    Re: Transpose cells based on column containing particular value

    Hi!

    If data only needed to be copied using a formula, is this possible?

  5. #5
    Registered User
    Join Date
    03-28-2018
    Location
    australia
    MS-Off Ver
    Office 360
    Posts
    3

    Re: Transpose cells based on column containing particular value

    Hi!!

    Sorry, struggling to work out how to apply this - any chance you can show in the workbook?? Probably should have changed the sheet names.....

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,363

    Re: Transpose cells based on column containing particular value

    On your data this works ..

    =IF(A3=A2,C3,"")

    See attached with Shukla's formula as well.
    Attached Files Attached Files

+ 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] Transpose Row to Column based on Date
    By neo4ride in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-07-2015, 09:25 AM
  2. Macro to transpose 10,000 sets of 4 cells in column 4 cells in 4 columns
    By Sbark in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2014, 08:39 PM
  3. Transpose every 5 cells in column A to indidual rows in column B
    By meridklt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-14-2013, 12:35 AM
  4. Transpose based on helper column VBA
    By carlosriver24 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-27-2013, 03:12 AM
  5. Replies: 9
    Last Post: 07-22-2012, 12:03 PM
  6. [SOLVED] Match cells in Column A, then transpose (matching) row data from column B, C, D, etc.
    By Jahoker in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-15-2012, 10:37 AM
  7. Transpose 2nd column based on repeats in 1st column
    By GregJ in forum Excel General
    Replies: 4
    Last Post: 03-19-2009, 04:29 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