Row spacing to group rows based on 1st columnConvert one column into multiple rowsHow to highlight multiple...

Would the melodic leap of the opening phrase of Mozart's K545 be considered dissonant?

Why are special aircraft used for the carriers in the United States Navy?

Why won't the strings command stop?

How do you say “my friend is throwing a party, do you wanna come?” in german

Do AL rules let me pick different starting equipment?

If nine coins are tossed, what is the probability that the number of heads is even?

The need of reserving one's ability in job interviews

3.5% Interest Student Loan or use all of my savings on Tuition?

What is a term for a function that when called repeatedly, has the same effect as calling once?

Can a space-faring robot still function over a billion years?

Are there other characters in the Star Wars universe who had damaged bodies and needed to wear an outfit like Darth Vader?

Relationship between the symmetry number of a molecule as used in rotational spectroscopy and point group

PTIJ: What’s wrong with eating meat and couscous?

I can't die. Who am I?

1970s scifi/horror novel where protagonist is used by a crablike creature to feed its larvae, goes mad, and is defeated by retraumatising him

Create chunks from an array

Can an earth elemental drown/bury its opponent underground using earth glide?

How to merge row in the first column in LaTeX

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

Inconsistent behaviour between dict.values() and dict.keys() equality in Python 3.x and Python 2.7

A bug in Excel? Conditional formatting for marking duplicates also highlights unique value

Where is the fallacy here?

Why is my Contribution Detail Report (native CiviCRM Core report) not accurate?

If there are any 3nion, 5nion, 7nion, 9nion, 10nion, etc.



Row spacing to group rows based on 1st column


Convert one column into multiple rowsHow to highlight multiple rows based on column cell numbers?Grouping and sorting rows in Excel based on single columnMicrosoft Excel Splitting rows in a column into a separate columnExcel macro to group rows based on a cell valueRemove duplicate rows, and keep newest row based on date columnHow to add data from multiple rows based on a column with specific identifiersExcel row numbering based a condition?Column Data into Rows by Employee IdentifierAdding up rows that have multiple unique values per row













0















I need to know how to easily space out the data based on profile_id. Adding a row between each number will help the data look clean for the users. Top picture is what the current data looks like and the bottom picture is what I want it to look like.



enter image description here



enter image description here










share|improve this question









New contributor




john_N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • VBA is clearly your route here. If you prefer to avoid it, I bet I can come up with a way to do it in a worksheet. Needed clarifications: 1. How many rows of data do you have, roughly? 2. Are the values for [employee_user_id] unique? 3. Do you need to perform this routine once, or is it something you're going to do regularly?

    – Alex M
    yesterday
















0















I need to know how to easily space out the data based on profile_id. Adding a row between each number will help the data look clean for the users. Top picture is what the current data looks like and the bottom picture is what I want it to look like.



enter image description here



enter image description here










share|improve this question









New contributor




john_N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • VBA is clearly your route here. If you prefer to avoid it, I bet I can come up with a way to do it in a worksheet. Needed clarifications: 1. How many rows of data do you have, roughly? 2. Are the values for [employee_user_id] unique? 3. Do you need to perform this routine once, or is it something you're going to do regularly?

    – Alex M
    yesterday














0












0








0








I need to know how to easily space out the data based on profile_id. Adding a row between each number will help the data look clean for the users. Top picture is what the current data looks like and the bottom picture is what I want it to look like.



enter image description here



enter image description here










share|improve this question









New contributor




john_N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I need to know how to easily space out the data based on profile_id. Adding a row between each number will help the data look clean for the users. Top picture is what the current data looks like and the bottom picture is what I want it to look like.



enter image description here



enter image description here







microsoft-excel






share|improve this question









New contributor




john_N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




john_N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday







john_N













New contributor




john_N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









john_Njohn_N

11




11




New contributor




john_N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





john_N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






john_N is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • VBA is clearly your route here. If you prefer to avoid it, I bet I can come up with a way to do it in a worksheet. Needed clarifications: 1. How many rows of data do you have, roughly? 2. Are the values for [employee_user_id] unique? 3. Do you need to perform this routine once, or is it something you're going to do regularly?

    – Alex M
    yesterday



















  • VBA is clearly your route here. If you prefer to avoid it, I bet I can come up with a way to do it in a worksheet. Needed clarifications: 1. How many rows of data do you have, roughly? 2. Are the values for [employee_user_id] unique? 3. Do you need to perform this routine once, or is it something you're going to do regularly?

    – Alex M
    yesterday

















VBA is clearly your route here. If you prefer to avoid it, I bet I can come up with a way to do it in a worksheet. Needed clarifications: 1. How many rows of data do you have, roughly? 2. Are the values for [employee_user_id] unique? 3. Do you need to perform this routine once, or is it something you're going to do regularly?

– Alex M
yesterday





VBA is clearly your route here. If you prefer to avoid it, I bet I can come up with a way to do it in a worksheet. Needed clarifications: 1. How many rows of data do you have, roughly? 2. Are the values for [employee_user_id] unique? 3. Do you need to perform this routine once, or is it something you're going to do regularly?

– Alex M
yesterday










2 Answers
2






active

oldest

votes


















2














If you want to avoid VBA and your only goal is to visually differentiate each ID number, you can use conditional formatting with the following formula:



=ISODD($A1)


enter image description here






share|improve this answer































    1














    If it's too much to do manually, you can use a simple macro with a loop to check through the column.



    Something like



    Sub ShiftGroups()
    Dim lastCell As Variant: lastCell = Range("A2").Value2
    For Each cell In Range("A2:A" & Cells(Rows.Count, 1).End(xlUp).Row)
    If Not cell.Value2 = lastCell And Not cell.Value2 = "" And Not lastCell = "" Then
    cell.EntireRow.Insert
    End If
    lastCell = cell.Value2
    Next cell
    End Sub


    This is a pretty basic loop with the added feature that it should skip any already empty rows, so running it several times should be no problem.



    IF you are unfamiliar with macros/visual basic, you might need to start with showing the developer tab. And then look up the basics on how to use them.






    share|improve this answer

























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });






      john_N is a new contributor. Be nice, and check out our Code of Conduct.










      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1411500%2frow-spacing-to-group-rows-based-on-1st-column%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2














      If you want to avoid VBA and your only goal is to visually differentiate each ID number, you can use conditional formatting with the following formula:



      =ISODD($A1)


      enter image description here






      share|improve this answer




























        2














        If you want to avoid VBA and your only goal is to visually differentiate each ID number, you can use conditional formatting with the following formula:



        =ISODD($A1)


        enter image description here






        share|improve this answer


























          2












          2








          2







          If you want to avoid VBA and your only goal is to visually differentiate each ID number, you can use conditional formatting with the following formula:



          =ISODD($A1)


          enter image description here






          share|improve this answer













          If you want to avoid VBA and your only goal is to visually differentiate each ID number, you can use conditional formatting with the following formula:



          =ISODD($A1)


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered yesterday









          cybernetic.nomadcybernetic.nomad

          2,135415




          2,135415

























              1














              If it's too much to do manually, you can use a simple macro with a loop to check through the column.



              Something like



              Sub ShiftGroups()
              Dim lastCell As Variant: lastCell = Range("A2").Value2
              For Each cell In Range("A2:A" & Cells(Rows.Count, 1).End(xlUp).Row)
              If Not cell.Value2 = lastCell And Not cell.Value2 = "" And Not lastCell = "" Then
              cell.EntireRow.Insert
              End If
              lastCell = cell.Value2
              Next cell
              End Sub


              This is a pretty basic loop with the added feature that it should skip any already empty rows, so running it several times should be no problem.



              IF you are unfamiliar with macros/visual basic, you might need to start with showing the developer tab. And then look up the basics on how to use them.






              share|improve this answer






























                1














                If it's too much to do manually, you can use a simple macro with a loop to check through the column.



                Something like



                Sub ShiftGroups()
                Dim lastCell As Variant: lastCell = Range("A2").Value2
                For Each cell In Range("A2:A" & Cells(Rows.Count, 1).End(xlUp).Row)
                If Not cell.Value2 = lastCell And Not cell.Value2 = "" And Not lastCell = "" Then
                cell.EntireRow.Insert
                End If
                lastCell = cell.Value2
                Next cell
                End Sub


                This is a pretty basic loop with the added feature that it should skip any already empty rows, so running it several times should be no problem.



                IF you are unfamiliar with macros/visual basic, you might need to start with showing the developer tab. And then look up the basics on how to use them.






                share|improve this answer




























                  1












                  1








                  1







                  If it's too much to do manually, you can use a simple macro with a loop to check through the column.



                  Something like



                  Sub ShiftGroups()
                  Dim lastCell As Variant: lastCell = Range("A2").Value2
                  For Each cell In Range("A2:A" & Cells(Rows.Count, 1).End(xlUp).Row)
                  If Not cell.Value2 = lastCell And Not cell.Value2 = "" And Not lastCell = "" Then
                  cell.EntireRow.Insert
                  End If
                  lastCell = cell.Value2
                  Next cell
                  End Sub


                  This is a pretty basic loop with the added feature that it should skip any already empty rows, so running it several times should be no problem.



                  IF you are unfamiliar with macros/visual basic, you might need to start with showing the developer tab. And then look up the basics on how to use them.






                  share|improve this answer















                  If it's too much to do manually, you can use a simple macro with a loop to check through the column.



                  Something like



                  Sub ShiftGroups()
                  Dim lastCell As Variant: lastCell = Range("A2").Value2
                  For Each cell In Range("A2:A" & Cells(Rows.Count, 1).End(xlUp).Row)
                  If Not cell.Value2 = lastCell And Not cell.Value2 = "" And Not lastCell = "" Then
                  cell.EntireRow.Insert
                  End If
                  lastCell = cell.Value2
                  Next cell
                  End Sub


                  This is a pretty basic loop with the added feature that it should skip any already empty rows, so running it several times should be no problem.



                  IF you are unfamiliar with macros/visual basic, you might need to start with showing the developer tab. And then look up the basics on how to use them.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited yesterday

























                  answered yesterday









                  Christofer WeberChristofer Weber

                  7991413




                  7991413






















                      john_N is a new contributor. Be nice, and check out our Code of Conduct.










                      draft saved

                      draft discarded


















                      john_N is a new contributor. Be nice, and check out our Code of Conduct.













                      john_N is a new contributor. Be nice, and check out our Code of Conduct.












                      john_N is a new contributor. Be nice, and check out our Code of Conduct.
















                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1411500%2frow-spacing-to-group-rows-based-on-1st-column%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

                      Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

                      Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...