+ Reply to Thread
Results 1 to 7 of 7

Format rows based on predecessor value in a column

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    70

    Format rows based on predecessor value in a column

    Hi

    I would like to format rows based on immediate predecessor value of a cell in a column. Please refer to the attached spreadsheet showing the befor and after where the expected result is shown.

    Any help would be greatly appreciated.
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,685

    Re: Format rows based on predecessor value in a column

    Use Pivot Table, refer the attached file for details.
    Attached Files Attached Files


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    11-13-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Format rows based on predecessor value in a column

    Sixthsense
    Thank you for your reply. This does not format the way I had shown. I would like all rows to be formatted and no total shown.
    Thanks
    Hoss

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,685

    Re: Format rows based on predecessor value in a column

    You can remove the total by just placing the cursor in E23 cell and do right click and deselect Subtotal.

  5. #5
    Registered User
    Join Date
    11-13-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Format rows based on predecessor value in a column

    Sixthsense
    Yes thanks but this does not format the rows as per my attachment.
    Hoss

  6. #6
    Registered User
    Join Date
    11-13-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Format rows based on predecessor value in a column

    Sixthsense
    Yes thanks but this does not format the rows as per my attachment.
    Hoss

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,685

    Re: Format rows based on predecessor value in a column

    Then you should go for VBA solution, but from my point of view merging the cells are not a good method of having data.

+ 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