redspanna
Well-known Member
- Joined
- Jul 27, 2005
- Messages
- 1,604
- Office Version
- 365
- Platform
- Windows
is there a formula for this, or even some VBA ?
Column A has a list of times, shown mm:ss, I want to 'award' points in relation to the times being closest to zero.
The points awarded would start with the time closest to zero being either a + OR - time.
The points start at the total number of entries, so in this example there are 5
So the time closest to zero in below being either a + or - is 0.01 so that is awarded 5 points
the next time closest to zero in below being either a + or - is -0.04 so that is awarded 4 points, and so on
So I would like a formula or VBA to plot the awarded points into column B as described above.
[table="width: 20, class: grid"]
[tr]
[td]-12:30[/td]
[td]1[/td]
[/tr]
[tr]
[td]2:34[/td]
[td]3[/td]
[/tr]
[tr]
[td]0:01[/td]
[td]5[/td]
[/tr]
[tr]
[td]-0:04[/td]
[td]4[/td]
[/tr]
[tr]
[td]3:23[/td]
[td]2[/td]
[/tr]
[/table]
Thanks in advance you clever lot
Column A has a list of times, shown mm:ss, I want to 'award' points in relation to the times being closest to zero.
The points awarded would start with the time closest to zero being either a + OR - time.
The points start at the total number of entries, so in this example there are 5
So the time closest to zero in below being either a + or - is 0.01 so that is awarded 5 points
the next time closest to zero in below being either a + or - is -0.04 so that is awarded 4 points, and so on
So I would like a formula or VBA to plot the awarded points into column B as described above.
[table="width: 20, class: grid"]
[tr]
[td]-12:30[/td]
[td]1[/td]
[/tr]
[tr]
[td]2:34[/td]
[td]3[/td]
[/tr]
[tr]
[td]0:01[/td]
[td]5[/td]
[/tr]
[tr]
[td]-0:04[/td]
[td]4[/td]
[/tr]
[tr]
[td]3:23[/td]
[td]2[/td]
[/tr]
[/table]
Thanks in advance you clever lot