| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Data Horizontal Ranges | Expected result | |||||||||||||||||||||||||||
2 | |||||||||||||||||||||||||||||
3 | 1st | 1st | 1st | 1st | |||||||||||||||||||||||||
4 | one | two | three | bool | one | two | three | bool | |||||||||||||||||||||
5 | |||||||||||||||||||||||||||||
6 | |||||||||||||||||||||||||||||
7 | 1st | 2nd | 1st | 2nd | 1st | ||||||||||||||||||||||||
8 | string | one | four | two | int | string | one | four | two | int | |||||||||||||||||||
9 | |||||||||||||||||||||||||||||
10 | |||||||||||||||||||||||||||||
11 | 1st | 1st | 1st | ||||||||||||||||||||||||||
12 | var | three | byte | var | three | byte | |||||||||||||||||||||||
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 | one | 1st | 1st | 1st | 1st | 1st | B | 21 | |||||||||||||||||||||
22 | two | 1st | 4 | one | two | three | bool | B | 22 | ||||||||||||||||||||
23 | three | 1st | B | 23 | |||||||||||||||||||||||||
24 | bool | 1st | B | 24 | |||||||||||||||||||||||||
25 | string | 1st | 1st | 2nd | 1st | 2nd | 1st | B | 25 | ||||||||||||||||||||
26 | one | 2nd | 5 | string | one | four | two | int | B | 26 | |||||||||||||||||||
27 | four | 1st | B | 27 | |||||||||||||||||||||||||
28 | two | 2nd | B | 28 | |||||||||||||||||||||||||
29 | int | 1st | 1st | 2nd | 1st | B | 29 | ||||||||||||||||||||||
30 | var | 1st | 3 | var | three | byte | B | 30 | |||||||||||||||||||||
31 | three | 2nd | B | 31 | |||||||||||||||||||||||||
32 | byte | 1st | |||||||||||||||||||||||||||
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 |