+ Reply to Thread
Results 1 to 3 of 3

How to subtract 7 hours from a DATE datatype column displaying Date & Time

  1. #1
    Registered User
    Join Date
    06-23-2010
    Location
    Pakistan
    MS-Off Ver
    Excel 2003
    Posts
    3

    How to subtract 7 hours from a DATE datatype column displaying Date & Time

    Greetings,

    I have a huge database in MS Excel and one of the fields captioned "Start Date" has Date & Time in this "DATE" format:
    3/14/10 1:30 PM

    My problem is that the data I have is in GMT -7 timezone. I need to redo this data on GMT. This means, I need to subtract 7 hours from the 'START DATE' column and I expect that the dates would automatically be adjusted by MS Excel, where required after taking -7 hours difference into account.

    Could anyone help how to achieve this? When I tried doing A1-7 (Assuming date is written in A1 cell), the result is subtraction of 7 days in the date. i.e. if A1 was 3/14/10 1:30 PM, it changes to 3/07/10 1:30 PM while I want it to be 3/14/10 6:30 AM.

    How can I do this? Please advise.

    Thanks,
    Syed
    Last edited by aliayazsyed; 06-23-2010 at 04:19 PM. Reason: Poor Title

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Syed

    Welcome to the forum,

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: How to subtract 7 hours from a DATE datatype column displaying Date & Time

    Enter 7:00 in some cell. Copy that cell, select the cells with the dates that need to be changed, and do Edit > Paste Special, tick Subtract and Values, and press OK.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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