Hello all -
I have been given some great help recently in trying to return the MODE of a series of TIMES (as in times of day). This has been very helpful, and I thank you all. Now I have hit a snag in implementing it.
In col C2 I have the following formula:
=IF(Main!DG3="X",Main!G3,"")
This returns the following data and format (if the "IF," above is satisfied).
13:00:00 EST or 13:00:00 EDT
Here is the helpful formula I was given that I have put in E2
=MODE(LEFT(C6:C9,8)*1)
The formula above excises the "EST," turns it into a number, and does indeed return the MODE. Excellent!
Now, my snag is that I have hundreds of rows of this data, and some rows will return nothing, since =IF(Main!DG3="X",Main!G3,"") is not always true.
It seems like the MODE formula is not unhappy with the blank rows per se, but unhappy with the fact that those blank rows are not truly blank, but have a formula in it. I could very very easily be wrong, but in any event, I get a #VALUE error.
What I need please, is a way to strip off the "EST," above (already done, I believe), turn that into a number that MODE can work with (already done, I believe), and now I need to have MODE ignore the blank rows to return the MODE of times of day where data actually exists.
Thank you for any thoughts or pointers!
I have been given some great help recently in trying to return the MODE of a series of TIMES (as in times of day). This has been very helpful, and I thank you all. Now I have hit a snag in implementing it.
In col C2 I have the following formula:
=IF(Main!DG3="X",Main!G3,"")
This returns the following data and format (if the "IF," above is satisfied).
13:00:00 EST or 13:00:00 EDT
Here is the helpful formula I was given that I have put in E2
=MODE(LEFT(C6:C9,8)*1)
The formula above excises the "EST," turns it into a number, and does indeed return the MODE. Excellent!
Now, my snag is that I have hundreds of rows of this data, and some rows will return nothing, since =IF(Main!DG3="X",Main!G3,"") is not always true.
It seems like the MODE formula is not unhappy with the blank rows per se, but unhappy with the fact that those blank rows are not truly blank, but have a formula in it. I could very very easily be wrong, but in any event, I get a #VALUE error.
What I need please, is a way to strip off the "EST," above (already done, I believe), turn that into a number that MODE can work with (already done, I believe), and now I need to have MODE ignore the blank rows to return the MODE of times of day where data actually exists.
Thank you for any thoughts or pointers!