Identify if all values within multiple rows for a specific value in another cell all contain a specific value return a specific result, example in msg

perfected_tipoff920

New Member
Joined
Aug 24, 2023
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
I am trying to identify based on if a specific USERNAME what ACCESS_TYPE they have based on the evaluation of all the values of RESPONSIBILITY_TYPE
what formula can I use in Col G to obtain these results?
Thanks

If same username has all responsibility_types = 'READ_ONLY' then ACCESS_TYPE = 'READ_ONLY'
If same username has all responsibility_types = 'READ/WRITE' then ACCESS_TYPE = 'READ/WRITE'
If same username has all responsibility_type contains both 'READ-ONLY' and 'READ/WRITE' then ACCESS_TYPE = 'MIXED'

Expected Results for all rows of JDOE in ACCESS_TYPE would be 'READ_ONLY', for JBLOGGS would be 'READ/WRITE' for FNERK would be 'MIXED'


BEFORE
ABCDEFG
1DEPTEMP_NOUSERNAMENAMERESPONSIBILITYRESPONSIBILITY_TYPEACCESS_TYPE
2IT555JDOEJOHN DOEFINANCE_INQUIRYREAD-ONLY
3IT555JDOEJOHN DOEBILLING_INQUIRYREAD-ONLY
4IT555JDOEJOHN DOESALES_INQUIRYREAD-ONLY
5BILLING111JBLOGGSJOE BLOGGSBILLING_CLERKREAD/WRITE
6BILLING111JBLOGGSJOE BLOGGSINVOICE_MGRREAD/WRITE
7BILLING333FNERKFRED NERKBILLING_CLERKREAD/WRITE
8BILLING333FNERKFRED NERKFINANCE_INQUIRYREAD-ONLY


EXPECTED RESULTS
ABCDEFG
1DEPTEMP_NOUSERNAMENAMERESPONSIBILITYRESPONSIBILITY_TYPEACCESS_TYPE
2IT555JDOEJOHN DOEFINANCE_INQUIRYREAD-ONLYREAD_ONLY
3IT555JDOEJOHN DOEBILLING_INQUIRYREAD-ONLYREAD_ONLY
4IT555JDOEJOHN DOESALES_INQUIRYREAD-ONLYREAD_ONLY
5BILLING111JBLOGGSJOE BLOGGSBILLING_CLERKREAD/WRITEREAD/WRITE
6BILLING111JBLOGGSJOE BLOGGSINVOICE_MGRREAD/WRITEREAD/WRITE
7BILLING333FNERKFRED NERKBILLING_CLERKREAD/WRITEMIXED
8BILLING333FNERKFRED NERKFINANCE_INQUIRYREAD-ONLYMIXED
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,215,072
Messages
6,122,966
Members
449,094
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top