Array Formula for unique counts

neodjandre

Well-known Member
Joined
Nov 29, 2006
Messages
950
Office Version
  1. 2019
Platform
  1. Windows
I have column A with values such as

col A col B
----------- -------------
Software SO1
Media ME1
Hardware HA1
Hardware HA2
Software SO2
Media ME2
Hardware HA3
Software SO3

I am looking to add a unique array countdown reference for each category in column B such as in the example above.

Any help would be great
thanks
Andrew
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
How about


Excel 2013/2016
AB
1
2Software SO1So1
3Media ME1Me1
4Hardware HA1Ha1
5Hardware HA2Ha2
6Software SO2So2
7Media ME2Me2
8Hardware HA3Ha3
9Software SO3So3
1
Cell Formulas
RangeFormula
B2=LEFT(A2,2)&SUMPRODUCT(--(LEFT($A$2:A2,2)=LEFT(A2,2)))
 
Upvote 0

Forum statistics

Threads
1,213,551
Messages
6,114,272
Members
448,558
Latest member
aivin

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