Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

The New Coffee Room

  1. TNCR
  2. General Discussion
  3. Calling any Excel guru

Calling any Excel guru

Scheduled Pinned Locked Moved General Discussion
11 Posts 8 Posters 175 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 89th8 Offline
    89th8 Offline
    89th
    wrote on last edited by
    #1

    I have a spreadsheet.

    It has about 500 rows.

    The first column are Usernames. All cells filled in.

    Next to each name (in the next 10 or so columns) list Group(s) that each person is in. Some people are just in one group so they only have Column B filled in. Some people are in 10 groups so they have Columns B-K filled in.

    My goal is to flip this, of sorts, and have a list of Groups, and to the right of each, the Usernames in each Group.

    Thoughts? See sample of the data structure below:

    c3d4abf3-1427-4dc8-8547-e658ee2e2e1f-image.png

    So in this case it would be something like:

    Orange: Horace, Aqua, Mik
    Blue: Aqua, Jon's Sister

    1 Reply Last reply
    • HoraceH Offline
      HoraceH Offline
      Horace
      wrote on last edited by
      #2

      They have competitions for people to do these sorts of things in Excel as quickly as possible. The same guy has been winning for years. If I had to do something like that inside excel, I'd figure out how to use VBScript. If I had to do it in general, I'd output a CSV and write a quick tool to create a new CSV as described. So I can't help.

      Education is extremely important.

      KlausK 1 Reply Last reply
      • 89th8 Offline
        89th8 Offline
        89th
        wrote on last edited by
        #3

        Yeah but can you just do it for meeeeeeeeeeeee

        1 Reply Last reply
        • 89th8 Offline
          89th8 Offline
          89th
          wrote on last edited by
          #4

          Kidding, no worries. Wasn't sure if there was a pivot table magic wand or something I'm not thinking about right away.

          1 Reply Last reply
          • jon-nycJ Online
            jon-nycJ Online
            jon-nyc
            wrote on last edited by jon-nyc
            #5

            Copy then paste with transpose checked.

            They’ll end up, after a lot of drama, with the same formula they use every time they have a trifecta: take away health care and food assistance from low income families and use the money to fund tax cuts for their donors.

            1 Reply Last reply
            • MikM Offline
              MikM Offline
              Mik
              wrote on last edited by
              #6

              Just copy the sheet to a new one and sort by group then name.

              “I am fond of pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals.” ~Winston S. Churchill

              1 Reply Last reply
              • KlausK Offline
                KlausK Offline
                Klaus
                wrote on last edited by
                #7

                https://support.microsoft.com/en-us/office/groupby-function-5e08ae8c-6800-4b72-b623-c41773611505#:~:text=The GROUPBY function allows you to group%2C aggregate%2C sort%2C,on the fields you specify.&text=A column-oriented array or,range may contain multiple columns.

                1 Reply Last reply
                • HoraceH Horace

                  They have competitions for people to do these sorts of things in Excel as quickly as possible. The same guy has been winning for years. If I had to do something like that inside excel, I'd figure out how to use VBScript. If I had to do it in general, I'd output a CSV and write a quick tool to create a new CSV as described. So I can't help.

                  KlausK Offline
                  KlausK Offline
                  Klaus
                  wrote on last edited by
                  #8

                  @Horace said in Calling any Excel guru:

                  If I had to do it in general, I'd output a CSV and write a quick tool to create a new CSV as described. So I can't help

                  That's what I would also do.

                  I love love love csvkit.

                  Apart from other very useful tools, it gives me the full power of SQL.

                  AxtremusA 1 Reply Last reply
                  • LuFins DadL Offline
                    LuFins DadL Offline
                    LuFins Dad
                    wrote on last edited by
                    #9

                    What does this have to do with a Korean car?

                    The Brad

                    1 Reply Last reply
                    • taiwan_girlT Offline
                      taiwan_girlT Offline
                      taiwan_girl
                      wrote on last edited by
                      #10

                      A pivot table would not work?

                      1 Reply Last reply
                      • KlausK Klaus

                        @Horace said in Calling any Excel guru:

                        If I had to do it in general, I'd output a CSV and write a quick tool to create a new CSV as described. So I can't help

                        That's what I would also do.

                        I love love love csvkit.

                        Apart from other very useful tools, it gives me the full power of SQL.

                        AxtremusA Offline
                        AxtremusA Offline
                        Axtremus
                        wrote on last edited by
                        #11

                        @Klaus said in Calling any Excel guru:

                        @Horace said in Calling any Excel guru:

                        If I had to do it in general, I'd output a CSV and write a quick tool to create a new CSV as described. So I can't help

                        That's what I would also do.

                        Dang, that’s also what I would do.
                        But that’s just a function of whether one is more fluent with Excel or with another scripting/programming language. :man-shrugging:

                        1 Reply Last reply
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups