1. change time formatting 2. frequency of blocks of cells

marc01

Board Regular
Joined
Sep 17, 2018
Messages
50
Office Version
  1. 2016
Platform
  1. Windows
Hi all,

I am having a bit of an issue while trying to analyse data I have generated from using Dartfish (sports analysis) software.

Firstly, I am analysing a tennis match and with the software there is a score panel tool which allows me to track games, sets, and tiebreak scores. When exported to excel the data given for example is '01:03' or '04:02'. and is therefore formatted as time (and in some cased date). In this example I would like to split the data to show 1 game to player A and 3 to player B, and also have a column for overall score e.g '4-2'

I have tried to change or clear formatting, change text to columns, search and replace, however it does not seem to work (converts to 01:03:00, or 0.6699, for example).

Secondly, I would like to track the number of points a player wins consecutively. The data I have would read something like this:

Point won by
Player A
Player A
Player B
Player A
Player B
Player B
Player B


Here I would then want to calculate the number of times a player won just 1 point, 2 in a row, 3 in a row, 4 in a row, and 5+ in a row. I have been playing about with FREQUENCY, SUM AND COUNTIF functions but unable to make it work.

Any help/ guidance would be much appreciated.

Kind regards,

Marc
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
If 01:03 is in A1,

Code:
=LEFT(HOUR(A1),2)
will get you 1 and
Code:
=RIGHT(MINUTE(A1),2)
will get you 3, so
Code:
[LEFT][COLOR=#222222][FONT=Verdana]=LEFT(HOUR(A1),2)&"-"&[COLOR=#222222][FONT=Verdana]RIGHT(MINUTE(A1),2)[/FONT][/COLOR][/FONT][/COLOR][/LEFT]
should get you 1-3
 
Last edited:
Upvote 0
Brilliant thank you very much for your help! Excel never ceases to amaze me at the moment
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top