Deriving MODE from time

aiki100

Board Regular
Joined
Aug 16, 2016
Messages
102
Hello -

I am trying to derive the MODE of a sequence of times. I have the following format to convert:

12:00:00 EDT

I imagine it does need to be converted Into text or number format so as to derive the MODE of this sequence. I have tried several approaches to no avail.

I also wish to derive the MODE of the day of the week, as well. I have converted the actual date into day of week with a custom format of, "ddd," and would like to derive the MODE of this (separate) sequence too.

Is there anyone with any ideas on how to proceed on either of these please?

Thanks much to you all —
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Re: Deriving MODE from time help, please

@aiki100, it's hard to know what to suggest without seeing real data in context with sample desired result. But let's say your data (for either situation) was in A1:A20. You could try the following array formula (confirmed with Ctrl+Shift+Enter):

Code:
=INDEX(A1:A20,MODE(IF((A1:A20<>"")*ISNA(MATCH("",A1:A20,0)),MATCH(A1:A20,A1:A20,0))))

Adjust the five instances of the range in the formula to match your own data range.

Again, this only a guess based on what information was provided in your post. If it doesn't work, do try posting actual sample ranges with desired sample output.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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