About
Pricing
Community
Teams
Start Free Trial
Log in
Seamus2626
asked on
10/22/2018
If statement for time stamp
Hi,
I have time stamps on an excel spreadsheet ranging from midday to 4am e.g 12.01 all the way to 03.50
I want an if statement to say = if the time stamp is between 10.00 am and 18.00 pm then it returns day time, and anything else = night
My time stamp looks like = 22/09/2018 00:56:39
Thanks
Seamus
Microsoft Excel
Microsoft Office
3
1
Last Comment
Norie
8/22/2022 - Mon
Martin Liss
10/22/2018
You can Format->Number->Date and select the one with PM, or Format-->Custom and create one to suit your needs.
Seamus2626
10/22/2018
ASKER
I can format to AM PM but i need my PM to run from 6pm to 3am and the rest is AM
Thanks
Seamus
ASKER CERTIFIED SOLUTION
Norie
10/22/2018
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck