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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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