JenniferMurphy
Well-known Member
- Joined
- Jul 23, 2011
- Messages
- 2,525
- Office Version
- 365
- Platform
- Windows
Is there any way that I can put a variable in a custom format?
In this table, I would like to be able to calculate in H5, highlighted in yellow, the value in G5, next to it. I can't do that because of the way I generated the results in the rest of Column H, resulting in a non-numeric value. But if I could put the "/ 7" in the custom format, where the "7" is a variable, then the value would remain numeric.
Thanks
In this table, I would like to be able to calculate in H5, highlighted in yellow, the value in G5, next to it. I can't do that because of the way I generated the results in the rest of Column H, resulting in a non-numeric value. But if I could put the "/ 7" in the custom format, where the "7" is a variable, then the value would remain numeric.
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | |||
5 | -3 | =0 | -3 | -11% | +3 | +3??? | |||
6 | Events | Hits | Misses | Tries | % | Rank % | Rank % | ||
7 | 7 | 4 | 2 | 6 | 67% | 4 | 4 / 7 | ||
8 | 6 | 7 | 2 | 9 | 78% | 1 | 1 / 7 | ||
9 | 5 | 4 | 2 | 6 | 67% | 4 | 4 / 7 | ||
10 | 4 | 5 | 3 | 8 | 63% | 6 | 6 / 7 | ||
11 | 3 | 5 | 2 | 7 | 71% | 2 | 2 / 7 | ||
12 | 2 | 4 | 2 | 6 | 67% | 4 | 4 / 7 | ||
13 | 1 | 3 | 4 | 7 | 43% | 7 | 7 / 7 | ||
14 | 0 | ||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C5:G5 | C5 | =OFFSET(C6,1,0)-OFFSET(C6,2,0) |
E7:E13 | E7 | =C7+D7 |
F7:F13 | F7 | =C7/E7 |
G7:G13 | G7 | =RANK.AVG(F7,OFFSET(F$6,1,0):OFFSET(F$14,-1,0),0) |
H7:H13 | H7 | =RANK.AVG(F7,OFFSET(F$6,1,0):OFFSET(F$14,-1,0),0) & " / " & OFFSET($B$6,1,0) |
B7:B13 | B7 | =OFFSET(B7,1,0)+1 |
Thanks