+ Reply to Thread
Results 1 to 5 of 5

What Formula to use to lookup multiple cells and give one values? RBAC made simple

  1. #1
    Registered User
    Join Date
    09-16-2021
    Location
    London, England
    MS-Off Ver
    Office 365 / 2016
    Posts
    3

    Post What Formula to use to lookup multiple cells and give one values? RBAC made simple

    Hi everyone,

    I am attempting to create a simple excel worksheet to calculate whether a person with multiple permissions assigned to them, essentially has a designated role. Most of the roles consists of multiple permissions and usually this work has been done manually in the past, however I really don’t know what I can use. I only really know how to use VLOOKUP, and not entirely sure its fit for purpose.

    I have provided some sample data of what I am trying to achieve. Table 1 starts with a list of users and their permissions. 2nd table shows what certain permissions can accumulate too. The end result being a combination of permission or designated roles give to a person.

    Can anyone advise me what I could use, or provide examples of what is better? Very happy to learn and achieve the end result myself. Will absolutely share end results with Forum once discovered

    Cheers all

    Adrien
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: What Formula to use to lookup multiple cells and give one values? RBAC made simple

    Using Power Query to resolve your question. See attached file.

    Bring both tables into the Power Query Editor. Join the two tables with an outer join. Modify the resulting table as shown in the example.

    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link to learn how to install Power Query in Excel 2010 / 2013.

    - Follow this link for an introduction to Power Query functionality.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    09-16-2021
    Location
    London, England
    MS-Off Ver
    Office 365 / 2016
    Posts
    3

    Re: What Formula to use to lookup multiple cells and give one values? RBAC made simple

    Cool, thanks Alan. I will try it first thing in the morning when at work. Definitely never have used it and I do love a good add-on. My personal favourite is Fuzzy-lookup, haha. I will keep you posted on my results tomorrow.

  4. #4
    Registered User
    Join Date
    09-16-2021
    Location
    London, England
    MS-Off Ver
    Office 365 / 2016
    Posts
    3

    Re: What Formula to use to lookup multiple cells and give one values? RBAC made simple

    Thanks so much Alan. Worked a treat this morning. Read up on it last night and did the merge. Was so quick and efficient. Many thanks! Adrien

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: What Formula to use to lookup multiple cells and give one values? RBAC made simple

    Thanks for the feedback. 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. formula to give a time allowances if 1 sale made
    By m_789 in forum Excel General
    Replies: 1
    Last Post: 03-29-2021, 04:59 PM
  2. [SOLVED] Lookup values and if a match is made do a conditional formatting
    By khanaran in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-26-2021, 11:28 AM
  3. Replies: 6
    Last Post: 03-26-2018, 09:54 PM
  4. [SOLVED] Need help with formula to conditionally give cells values from different sheet
    By Kjellis85 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-10-2014, 05:10 AM
  5. [SOLVED] simple computation of certain values that would give pass or a fail mark
    By cottonfam8 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-17-2014, 08:45 AM
  6. Replies: 15
    Last Post: 08-25-2014, 02:16 AM
  7. Replies: 1
    Last Post: 05-15-2013, 08:38 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