FryGirl
Well-known Member
- Joined
- Nov 11, 2008
- Messages
- 1,368
- Office Version
- 365
- 2016
- Platform
- Windows
As you can see, in column B I found a formula to number the groupings of column A. Not sure if this is the most efficient formula to use, but I would also like to create a grouping of column A, but by letter versus the numbering.
Groupings.xlsb | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Name | Number | Letter | ||
2 | Apr | 1 | A | ||
3 | Apr | 1 | A | ||
4 | Apr | 1 | A | ||
5 | Aug | 2 | B | ||
6 | Aug | 2 | B | ||
7 | Aug | 2 | B | ||
8 | Aug | 2 | B | ||
9 | Aug | 2 | B | ||
10 | Dec | 3 | C | ||
11 | Dec | 3 | C | ||
12 | Feb | 4 | D | ||
13 | Feb | 4 | D | ||
14 | Feb | 4 | D | ||
15 | Feb | 4 | D | ||
16 | Jan | 5 | E | ||
17 | Jan | 5 | E | ||
18 | Jan | 5 | E | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:B18 | B2 | =IF(COUNTIF(A$2:A2,A2)=1,MAX(B$1:B1)+1,VLOOKUP(A2,A$1:B1,2,0)) |