Maintain position of value in UNIQUE function

ncbf87

New Member
Joined
Apr 17, 2017
Messages
9
Hi guys,

Hope you're well. I'd appreciate some guidance from the pros here.

I've a table of all employee's position title which I need to summarise into a table of unique position titles --> do a count --> and allow manual input in another column what is the required headcount of a position end of year. The challenge comes when a manager may change what a current position title is called, which will then refresh the UNIQUE formula, the sorting of values will differ, and this will mess up the manual input of headcounts

Example (screenshot attached):

Col D (Table 2) = line by line of all available positions in the company

Col F = UNIQUE(Table2[All Positions]))

Col G = COUNTIF(Table2[All Positions],F2#)

Col H = Manual Input

Column H is a data we want to track, maintain, and allow future changes. However, it needs to match the "unique position" line in column F.

If the position title in column D changes (rename, new row), column F will refresh with a change in order of the positions, which will make column H's input redundant.

Is there any alternative to approach this challenge, or a solution to fix the position of the position titles (maybe by having a unique ID for sorting purpose?)

Excel ver: Microsoft 365
 

Attachments

  • 35pzmus2pwj71.png
    35pzmus2pwj71.png
    36.8 KB · Views: 24
What about Power Query though?
It's not something that I'm familiar enough with to say for certain but I would imagine that it would behave the same as a formula when the query is refreshed.
 
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,214,980
Messages
6,122,563
Members
449,088
Latest member
Motoracer88

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