+ Reply to Thread
Results 1 to 7 of 7

Date Translation and Logic

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    Fenton Missouri
    MS-Off Ver
    Excel 2007
    Posts
    54

    Date Translation and Logic

    I am having a hard time getting something to work

    This is a two step process using date/time logic

    First Step - Date Range 1
    In A1 I will paste a date and time in this format. "10/23/2015 12:05 AM" (without the quotes)
    The value in A1 is Eastern Time
    In A2 I need a formula that translates the A1 value into Central Time
    I need the same formula again using B1 to paste the Eastern Time value of "10/28/2015 11:55 PM" (without the quotes)
    And B2 will be translation of of B1 Eastern Time into B2 Central Time
    I want the values in A2 and B2 to keep the same format as A1 and B1

    The end result is A2 will be my CT Start Date/Time and B2 will be my CT End Date/Time


    Second Step - Date Range 2
    In C1 I will paste a date that is already in Central time with the format of "10/24/2015 9:00:00 PM" (without the quotes)
    In D2 I will paste a date that is already in Central time with the format of "10/26/2015 9:00:00 PM" (without the quotes)

    So now I have a established a Date Range 1 and Date Range 2 that are both in Central Time and all the same date format.
    So the last step is the need for a formula in E1 that provides True/False type of logic.
    If any part of the date/time range for "Date Range 2" falls within the "Date Range 1" parameters, then E1 is True, if not, False

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Date Translation and Logic

    In A2 copied to B2
    =A1-"1:00"
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Date Translation and Logic

    Clarify Part 2 for me. So if any part of the time between C1 and D2 falls between A2 and B2, then true?

    If So

    =OR(AND(C1<A2, D2>B2), AND(C1>=A2, C1<=B2), AND(D2>=A2, D2<=B2))
    Last edited by ChemistB; 10-23-2015 at 12:36 PM.

  4. #4
    Registered User
    Join Date
    01-17-2014
    Location
    Fenton Missouri
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: Date Translation and Logic

    I think you lost me

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Date Translation and Logic

    I lost you? How so?
    Attached Files Attached Files
    Last edited by ChemistB; 10-23-2015 at 12:40 PM.

  6. #6
    Registered User
    Join Date
    01-17-2014
    Location
    Fenton Missouri
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: Date Translation and Logic

    I am sorry..........I was just confused on how you explained the first step...........yes, this works perfectly, thanks so much

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Date Translation and Logic

    Glad to help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Translation of Multiple Date Types
    By meppwc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-02-2015, 07:27 AM
  2. Date formula logic
    By RAF1992 in forum Excel General
    Replies: 5
    Last Post: 06-16-2015, 04:58 PM
  3. Replies: 1
    Last Post: 12-19-2012, 09:39 PM
  4. Date Logic
    By ravin13524666 in forum Excel General
    Replies: 2
    Last Post: 04-16-2012, 02:55 AM
  5. Date Format Translation
    By annelise in forum Excel General
    Replies: 6
    Last Post: 11-07-2011, 08:49 AM
  6. Re: Date Format Translation
    By Yashika in forum Excel General
    Replies: 0
    Last Post: 11-06-2011, 04:30 PM
  7. IF Statements and Date Logic
    By FM1 in forum Excel General
    Replies: 4
    Last Post: 12-08-2008, 02:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1