Formula Help (Most likely Dynamic Array Needed)

Magoosball

Board Regular
Joined
Jun 4, 2017
Messages
70
Office Version
  1. 365
Hello -- Please see image attached. I'm using Microsoft 365. Thank you!!

I'm looking to write a formula in the Location Assigned (Column F) that produces the results I manually inputted in the Answer (Column G)

Basically I have a list of Locations and Jobs in column A and B. I'm trying to assign each person in column D to the location where the least people are currently based off their job in column E.
For example: Caitlin is a police officer. Mike was already assigned to South America. Therefor the least amount of Police officers are currently assigned to Africa, which is 0.


I can use multiple helper columns if needed. When I was trying to do this previously I was receiving a circular reference error because when I dragged down the formula in the location assigned column each answer was dependent on the assignment made in the previous row.

thank you for your help and let me know if you have any questions!
 

Attachments

  • Capture.JPG
    Capture.JPG
    92.4 KB · Views: 12

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,223,996
Messages
6,175,867
Members
452,678
Latest member
will_simmo

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