+ Reply to Thread
Results 1 to 10 of 10

Transposing a table

  1. #1
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Transposing a table

    Hi,

    All you need, in order to help me out, is explained inside the attached WB.

    You may consider to copy/duplicate the 2 Worksheets in order to present the requested formulas.

    There are two different questions - one in each WS.

    Thanks in advance,

    Elm
    Attached Files Attached Files
    Last edited by ElmerS; 07-14-2009 at 01:50 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Transposing a table

    The second sheet is the one I know right off the bat and provide for you.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: Transposing a table

    Thank you.

    I hope my customer will tolerate with coloring, the extra Names, in white.

    If somebody else can think of a formula to accomplish the same without the need to fill-in all names - I will appreciate it.

    Elm

  4. #4
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: Transposing a table

    One last question regarding this issue.

    Assuming the Names can be filled in - what formulas(s) will take of them if UN-SORTED ?

    something like:

    DEF
    DEF
    ABC
    ABC
    ABC
    ABC
    ABC
    GHI
    PQR
    JKL
    MNO
    MNO
    MNO

    while everyone gets its appropriate fields, of course.

    Elm
    Last edited by ElmerS; 07-14-2009 at 08:54 AM.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Transposing a table

    The answer I gave you above already works in this situation. Did you even try it?

    The index/match approach I've shown is looking for exact matches in groups. It doesn't care how they are ordered as long as each GROUP of values is ordered together.

    As for the duplicate values in another color, you know you could make the duplicates WHITE font, effectively turning them invisible. Then sheet2 option would at least LOOK like your sheet 1, which seems to be the "look" you're after.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Transposing a table

    Another option for automatically suppressing the appearance of the secondary values in column A is a simple Conditional Format.

    I highlighted A3:A14, the selected Format > Conditional Format

    Condition1: Formula Is: =COUNTIF($A$2:$A3,$A3)>1
    Format...Font > White


    That made all the secondary values disappear on their own.

  7. #7
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: Transposing a table

    Yes, and I was mistaken.

    As per the Conditional Formatting, in White, - that is exactly what I had in mind.

    Thanks a gain, Elm

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Transposing a table

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated)

  9. #9
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: Transposing a table

    Believe it or not - this thread was marked as "SOLVED" right after your first reply.

    Later, when I noticed I have 1-2 more questions - I removed the "SOLVED" sign.

    You are welcome to check all, or most, of my posting to find out that I do mark a closed discussion as SOLVED.

    I'm not familiar with any blue "scales" icon.

    Please try to explain in details (a picture may also help).

    Elm

  10. #10
    Forum Contributor
    Join Date
    11-28-2008
    Location
    Reykjavík, Iceland
    MS-Off Ver
    Any of: 2003 & 2007
    Posts
    412

    Re: Transposing a table

    in order to sign & close this matter - the attached picture presents a solution which does not need the Names to be filled-in.

    Thanks again, Elm
    Attached Images Attached Images

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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