Excel Seconds Conversion, find min, max and average values

mzafar1076

New Member
Joined
Sep 22, 2017
Messages
8
Hello Everyone, I would appreciate if I can get some help.

Please see the attached data sheet.

From this sheet, all the data is in seconds and miliseconds.

1. Is there a way to find min, max average values for a given date? For example, for 08-22 find min,max and average transaction times.

2. Is there a formula that would help us find how many transactions ran longer than 5 seconds on a given day?
3. Where we have more than 60 seconds convert it to minutes and seconds?

4. Is there an easier way to average three transactions per hour?

See the attached sheet.

Transaction NameTime8/22/20178/24/20178/29/20178/31/20179/5/20179/7/2017
Transac-17:031.321.291.544.454.511.53
Transac-17:063.41.331.363.323.431.49
Transac-17:091.33.391.471.33.331.33
Transac-17:121.291.551.481.293.461.31
Transac-17:163.662.561.311.33.361.35
Transac-17:191.293.361.324.414.581.35
Transac-17:233.481.341.294.556.481.34
Transac-17:263.351.31.51.314.361.39
Transac-17:293.43.441.291.494.351.31
Transac-17:333.321.541.34.513.451.31
Transac-17:361.335.511.3210.566.41.6
Transac-17:391.36.561.31.334.371.3
Transac-17:431.331.361.41.3515.641.31
Transac-17:463.654.641.541.316.511.38
Transac-17:491.3226.711.4236.9401.34
Transac-17:534.451.311.38.586.481.32
Transac-17:563.385.42.562.4601.8
Transac-17:592.431.312.3726.98881.29
Transac-18:035.541.312.361.401.47
Transac-18:061.51.331.311.3152.071.34
Transac-18:092.531.341.351.365.261.35
Transac-18:134.383.321.321.3227.841.32
Transac-18:165.434.371.361.3233.811.31
Transac-18:193.543.381.361.36271.42
Transac-18:234.431.41.45.6211.561.35
Transac-18:261.391.361.371.3218.671.32
Transac-18:291.411.562.741.5221.81.37
Transac-18:334.588.731.351.46.421.33
Transac-18:364.481.372.555.48.411.29
Transac-18:395.63.421.35.467.392.34
Transac-18:434.473.331.341.569.426.36
Transac-18:464.481.351.374.365.611.3
Transac-18:491.44.341.564.394.341.5
Transac-18:534.674.461.311.415.461.28
Transac-18:564.594.431.31.54.391.29
Transac-18:591.564.551.331.324.551.3
Transac-19:031.43.371.321.3110.451.42
Transac-19:063.397.41.584.366.361.39
Transac-19:093.353.341.314.335.41.34
Transac-19:134.443.41.364.355.521.33
Transac-19:161.4920.981.521.365.46.57
Transac-19:191.333.341.384.3613.511.55
Transac-19:231.3169.311.454.355.431.34
Transac-19:261.335.51.311.337.493.6
Transac-19:291.324.361.541.513.641.35
Transac-19:331.354.591.385.394.511.37
Transac-19:364.43.51.317.543.429.46
Transac-19:394.473.571.494.414.581.33
Transac-19:431.377.461.311.324.471.71
Transac-19:466.4180.441.331.2915.51.33
Transac-19:494.463.381.351.417.531.54
Transac-19:533.573.381.321.315.451.47
Transac-19:561.324.581.351.284.351.31
Transac-19:591.368.381.291.324.351.31
Transac-110:031.364.441.321.327.41.35
Transac-110:063.433.331.371.364.341.58
Transac-110:094.473.391.334.363.481.46
Transac-110:131.313.361.331.586.381.31
Transac-110:164.3885.51.321.314.341.33
Transac-110:191.31.3
Transac-110:23
Transac-110:26
Transac-110:29
Transac-110:33
Transac-110:36
Transac-110:39
Transac-110:43
Transac-110:46
Transac-110:49
Transac-110:53
Transac-110:56
Transac-110:59
Transac-111:03
Transac-111:06
Transac-111:09
Transac-111:13
Transac-111:16
Transac-111:19
Transac-111:23
Transac-111:26
Transac-111:29
Transac-111:33
Transac-111:36
Transac-111:39
Transac-111:43
Transac-111:46
Transac-111:49
Transac-111:53
Transac-111:56
Transac-111:59
Transac-112:03
Transac-112:06
Transac-112:09
Transac-112:13
Transac-112:16
Transac-112:19
Transac-112:23
Transac-112:26
Transac-112:29
Transac-112:33
Transac-112:36
Transac-112:39
Transac-112:43
Transac-112:46
Transac-112:49
Transac-112:53
Transac-112:56
Transac-112:59
Transac-11:03
Transac-11:06
Transac-11:09
Transac-11:13
Transac-11:16
Transac-11:19
Transac-11:23
Transac-11:26
Transac-11:29
Transac-11:33
Transac-10:36
Transac-11:39
Transac-11:43
Transac-11:46
Transac-11:49
Transac-11:53
Transac-11:56
Transac-11:59
Transac-12:03
2:06
2:09
2:13
2:16
2:19
2:23
2:26
2:29
2:33
2:36
2:39
2:43
2:46
2:49
2:53
2:56
2:29
3:03
3:06
3:09
3:13
3:16
3:19
3:23
3:26
3:29
3:33
3:36
3:39
3:43
3:46
3:49
3:53
3:56
3:59
4:03
4:06
4:09
4:13
4:16
4:19
4:23
4:26
4:29
4:33
4:36
4:39
4:43
4:46
4:49

<tbody>
</tbody>

Thanks.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
I can provide you formulas to answer your first 3 questions.
To start with, I Inserted 4 Rows at the top of the spreadsheet so that I could enter formulas there for Min/Max/Average and the # of transactions > 5 seconds.
This resulted in the first row of actual data being in row 6.

I started with question 3 since this conversion needs to occur first.
3. Where we have more than 60 seconds convert it to minutes and seconds?

This could be accomplished with a VBA code module to convert the cells where the value is > 60 and leave all data in their current columns/rows.
However, to do this with a formula I added columns to the right of your current data.
In cell J6 I entered this formula:
=IF(C6>60,C6/60,C6)
Copied that formula across to column O and then copied the formulas in J6:O6 down all rows.


1. Is there a way to find min, max average values for a given date? For example, for 08-22 find min,max and average transaction times.
To find the min: In cell J1 I entered formula:
=MIN(J6:J65)
To find the max: In cell J2 I entered formula: =MAX(J6:J65)
To find the Average: In cell J3 I entered formula: =AVERAGE(J6:J65)

2. Is there a formula that would help us find how many transactions ran longer than 5 seconds on a given day?
In cell J4 I entered formula:
=COUNTIF(J6:J65,">5")

Not sure what 3 values you are looking to average in question 4 so please provide more explanation of what you are looking to accomplish here.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,024
Messages
6,122,729
Members
449,093
Latest member
Mnur

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