How to put into Categories?

bksparkz

New Member
Joined
Mar 20, 2014
Messages
36
Good afternoon all I am having trouble putting categories together.
I need a formula to do the following.
In cell A (Formula) I need it to tell me which user belongs to the category present in cell C (Category).
Cell B (user) is showing which users have which categories assigned to them.
If a category is not assigned to a user, it should say Other.
Thank You all.
Formula
User
Category
Lynne
Medicare Managed Care
Lynne
ElderPlan
Lynne
Gov't Insurance
Lori
Commercial
Lori
Medicare
Damien
Guar
Beverly
Medicaid Managed Care
Beverly
No-Fault
Beverly
Workers Comp
Beverly
Workers Comp/No-Fault
Annop Skaria
Medicaid
Annop Skaria
Metroplus

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Jeffrey Mahoney

Well-known Member
Joined
May 31, 2015
Messages
1,830
Office Version
  1. 365
Platform
  1. Windows
This formula finds the first match in Column C. It looks like you have duplicates.

In Cell A2
=IF(MATCH(C2,$C$2:$C$13,0)>0,INDEX($B$2:$B$13,MATCH(C2,$C$2:$C$13,0)),"Other")
 

bksparkz

New Member
Joined
Mar 20, 2014
Messages
36
The above is just an example of which name is responsible for their category. If column B is not there, how can I write out this formula.
Another example is that Name of "Beverly" would show in column A if Column C shows "No-Fault", "Workers Comp", or Workers Comp/No-Fault"
Thank You
 

Jeffrey Mahoney

Well-known Member
Joined
May 31, 2015
Messages
1,830
Office Version
  1. 365
Platform
  1. Windows
You should keep a master Table of categories and owners.

I'll think again on the formula, but it seems that a User Defined Function is in order. The issue is that you have duplicates in the set. You want it find a User that owns the category, but not the User on the current row.

Jeff
 

Watch MrExcel Video

Forum statistics

Threads
1,122,911
Messages
5,598,819
Members
414,260
Latest member
joishe

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
Top