Show Overnight Data as Occuring on One Day

bjk896

New Member
Joined
Sep 8, 2022
Messages
8
Office Version
  1. 2007
Platform
  1. Windows
I have data from an outposted data logger that logs date and time of an occurrence eg 2021-09-28_19-15-07 for Date and hh-mm-ss. This data only occurs between 1700 and 0700 next day, so for one night’s effort I get Date 1 for occurrences to midnight and Date 2 for those post midnight.

2021-09-28_19-15-07 shows for 28/9/2021 and
2021-09-29_03-37-16 shows for 29/2/2021

I don’t care which day is used when it is all finally put on a scatter chart but it is more meaningful for this to be shown as 1 day.
I have no problem converting formats between time and date serial and numbers

How do I do it ?

I then make a scatter chart using date serials as numbers and decimal times (with X = Date, Y = Time) How can I eliminate the redundant times between 0700 and 1700 in the Time axis?

bjk
 
bebo02199 Been offline for a while - I'm not familiar with the ----(SUBSTITUTE(RIGHT($A$14,8) ---- component of your formulae for B Column

Could you fill me in a bit please bjk
Well, I understand what the over all formula does but not what the "$A$14,8" part is doing
bjk
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,215,580
Messages
6,125,654
Members
449,245
Latest member
PatrickL

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