+ Reply to Thread
Results 1 to 9 of 9

How to condense multiple excel rows to get one row summary as per the logic explained

  1. #1
    Registered User
    Join Date
    08-02-2023
    Location
    India
    MS-Off Ver
    Microsoft 365
    Posts
    4

    How to condense multiple excel rows to get one row summary as per the logic explained

    All3.png



    I have a spreadsheet that has the security roles of each table a user has along with the permissions that security role has for the table. I have to condense them into a summary report as explained below. I'd appreciate if you can suggest how to achieve this.


    A user can have access to a table via multiple security roles, some security roles might provide elevated access and others might provide lower access but the elevated access would take precedence.


    #Image 1

    In image 1, we can see the different security roles Peter Parker and Mary Jane has to Contact & Account tables, along with the permissions each security role offer.

    I have to condense spreadsheet shown in Image 1 to Image 3. Following rules need to be governed.

    1) There should be only one row per "Full Name & Table" combination.


    2) All the "Roles" available for a "Full Name & Table" combination should be concatenated into a single cell.

    3) The permissions associated with each security role for create, read, write.... should be condensed with the one having the highest permission. The permission hierarchy is as below.

    Organization > PCBU > BU > User > None


    Let us take the example of Peter Parker for Contact table. He has 5 security roles for Contact. For create the permissions provided by each roles are as follows

    Account Manager - None

    Sales Manager - User

    Sales Operations - Organization

    Marketing - User

    Insurance - PCBU

    So in the condensed report under create I should have Organization, because permission wise Organization > PCBU > BU > User > None


    Thanks in advance
    Attached Files Attached Files
    Last edited by excel546; 08-03-2023 at 12:09 AM. Reason: To add an excel file

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: How to condense multiple excel rows to get one row summary as per the logic explained

    To be totally honest, after seeing your images, the first thing I looked for was an attached worksheet with which I could work.

    Because I didn't see one, I didn't even read the rest of your post. I would imagine a lot of others would do the same. (see yellow banner at top of page)

  3. #3
    Registered User
    Join Date
    08-02-2023
    Location
    India
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Re: How to condense multiple excel rows to get one row summary as per the logic explained

    Thank you so much for taking a look at my post and sharing your feedback. I just registered in this forum yesterday and immediately posted my query without going through the guidelines. My apologies for that. I have added the excel file in my original post now. Kindly share your feedback.

    Thanks

  4. #4
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: How to condense multiple excel rows to get one row summary as per the logic explained

    Try this,

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by windknife; 08-03-2023 at 01:39 AM.

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: How to condense multiple excel rows to get one row summary as per the logic explained

    Another solution for the whole table inclusive the headers in one go:

    Please try
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by HansDouwe; 08-03-2023 at 03:02 AM.

  6. #6
    Registered User
    Join Date
    08-02-2023
    Location
    India
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Re: How to condense multiple excel rows to get one row summary as per the logic explained

    Thank you so much for solving this, I will learn about the individual functions used in this and try to understand how you have accomplished the result.

    Thank you

  7. #7
    Registered User
    Join Date
    08-02-2023
    Location
    India
    MS-Off Ver
    Microsoft 365
    Posts
    4

    Re: How to condense multiple excel rows to get one row summary as per the logic explained

    Thanks for solving this, I will break this further to understand how you achieved this.

    Thank you

  8. #8
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: How to condense multiple excel rows to get one row summary as per the logic explained

    You are welcome.
    --------------------------------------
    If that takes care of your original question, please click on "Thread Tools" from the menu link above and mark this thread as SOLVED.

  9. #9
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: How to condense multiple excel rows to get one row summary as per the logic explained

    Yoy are Welcome!

    Thanks for the nice question, feedback and rep. .

    Glad to have helped.

+ 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. Need an efficient way to condense thousands of rows of excel data.
    By Kieran_CP in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 03-02-2020, 03:35 AM
  2. [SOLVED] Search multiple columns from Multiple Worksheets and copy rows into a Summary Worksheet
    By kljohn01 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-07-2017, 03:46 PM
  3. [SOLVED] Excel VBA - Condense multiple variable transfer code
    By Isacc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-29-2012, 12:28 PM
  4. Condense multiple rows into a table view
    By Jonsocks in forum Excel General
    Replies: 3
    Last Post: 06-09-2010, 09:47 AM
  5. Summing multiple rows using logic??
    By manzano16 in forum Excel General
    Replies: 6
    Last Post: 02-04-2009, 02:04 PM
  6. Replies: 1
    Last Post: 12-23-2006, 03:45 PM
  7. [SOLVED] Can Excel "slide up" rows with content thru empty rows to condense
    By portly44 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-31-2005, 08:06 PM

Tags for this Thread

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