ABCDEFGHIJKLMNOPQRSTUVWXYZAAABAC
1
Data Horizontal Ranges
Expected result
2
3
1st1st1st1st
4
onetwothreeboolonetwothreebool
5
6
7
1st2nd1st2nd1st
8
stringonefourtwointstringonefourtwoint
9
10
11
1st1st1st
12
varthreebytevarthreebyte
13
14
15
Result With Current Formulas From:
16
=TRANSPOSE(INDIRECT($P$21&(SUM(Q21))&":"&$P$21&(SUM(Q21,I22)-1)))
17
Result Vertically with Formula:
=TRANSPOSE(INDIRECT($P$21&(SUM(Q21,I22))&":"&$P$21&(SUM(Q21,I22,I26)-1)))
18
=COUNTIF(A$19:A19,A19)
=TRANSPOSE(INDIRECT($P$21&(SUM(Q21,I22,I26))&":"&$P$21&(SUM(Q21,I22,I26,I30)-1)))
19
20
B21:B31
Indirect Function Input
21
one1st1st1st1st1stB21
22
two1st4onetwothreeboolB22
23
three1stB23
24
bool1stB24
25
string1st1st2nd1st2nd1stB25
26
one2nd5stringonefourtwointB26
27
four1stB27
28
two2ndB28
29
int1st1st2nd1stB29
30
var1st3varthreebyteB30
31
three2ndB31
32
byte1st
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
References:
49
50
https://www.mrexcel.com/board/threads/calculate-ordinal-number-of-replicates.993643/
51
52
https://www.contextures.com/xlfunctions05.html
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100