Find average of In time in an auto generated Excel.

jhonty4

Board Regular
Joined
May 16, 2016
Messages
85
Hi ,
I have an auto generated excel from an attendance application in which In time and out time of every employee is mentioned. Now the problem is I need to find average of In time for every employee.
The format of cells in generated file is general and the content is left indented so when i select a range I don't get the average in the bottom bar. But when I double click or press F2 the format changes to custom(hh:mm) and the text becomes right aligned now it shows the average.
I have tried converting all the cell format to hh:mm but it doesn't work so I have to manually select every cell and press f2 to find the average.
anyway I can avoid this tedious process?
TIA
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
so I have to manually select every cell and press f2 to find the average.
anyway I can avoid this tedious process?

Hi, you can try to select the column of text times and choose "Text to columns" from the data tab on the ribbon and click finish.
 
Upvote 0
Hi form,
Thanks, This works and simplifies my work. But still I have to do this on individual column can I get this done in all columns at once?
 
Upvote 0
can I get this done in all columns at once?

Not with text to columns - but you can try this.

In an empty cell enter a zero - copy that cell and highlight the cells that contain your text times. Hold CRTL+ALT and press V to bring up the paste special dialogue and choose "Add" in the "Operation" section and click "OK" - you may need to format the cells as time afterwards.
 
Upvote 0

Forum statistics

Threads
1,215,493
Messages
6,125,119
Members
449,206
Latest member
burgsrus

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