+ Reply to Thread
Results 1 to 7 of 7

Formating dates

  1. #1
    pcor
    Guest

    Formating dates

    I have dates and times in 2 cells(a1 and b1). How do I format an other
    cell(c1) to tell me hiow many days there is between cells (a1 and B1).
    Thanks
    Ian

  2. #2
    Peo Sjoblom
    Guest

    Re: Formating dates

    =B1-A1 format as general (end date - start date)

    --

    Regards,

    Peo Sjoblom

    http://nwexcelsolutions.com


    "pcor" <[email protected]> wrote in message
    news:[email protected]...
    >I have dates and times in 2 cells(a1 and b1). How do I format an other
    > cell(c1) to tell me hiow many days there is between cells (a1 and B1).
    > Thanks
    > Ian




  3. #3
    Biff
    Guest

    Re: Formating dates

    Hi!

    A1 = start date/time
    B1 = end date/time

    =INT(B1)-INT(A1)

    Biff

    "pcor" <[email protected]> wrote in message
    news:[email protected]...
    >I have dates and times in 2 cells(a1 and b1). How do I format an other
    > cell(c1) to tell me hiow many days there is between cells (a1 and B1).
    > Thanks
    > Ian




  4. #4
    Peo Sjoblom
    Guest

    Re: Formating dates

    Oops! didn't read far enough, see Biff's answer

    Peo


    "Peo Sjoblom" <peo.sjoblom@nw^^excelsolutions.com> wrote in message
    news:%[email protected]...
    > =B1-A1 format as general (end date - start date)
    >
    > --
    >
    > Regards,
    >
    > Peo Sjoblom
    >
    > http://nwexcelsolutions.com
    >
    >
    > "pcor" <[email protected]> wrote in message
    > news:[email protected]...
    >>I have dates and times in 2 cells(a1 and b1). How do I format an other
    >> cell(c1) to tell me hiow many days there is between cells (a1 and B1).
    >> Thanks
    >> Ian

    >
    >




  5. #5
    pcor
    Guest

    Re: Formating dates

    I guess I did not explain well enough
    In A1 I have Wed 12 Apr 2006 01:46:PM
    In B1 I have Tue 11 Apr 2006 04:41:PMTThat give me an answer of 21 hrs 4
    min and a few seconds.
    What I really wnat is the number of days(in this case it wouod ab e about
    ..8(point 8)
    How can I do that
    Thanks


    "Biff" wrote:

    > Hi!
    >
    > A1 = start date/time
    > B1 = end date/time
    >
    > =INT(B1)-INT(A1)
    >
    > Biff
    >
    > "pcor" <[email protected]> wrote in message
    > news:[email protected]...
    > >I have dates and times in 2 cells(a1 and b1). How do I format an other
    > > cell(c1) to tell me hiow many days there is between cells (a1 and B1).
    > > Thanks
    > > Ian

    >
    >
    >


  6. #6
    Biff
    Guest

    Re: Formating dates

    As long as these dates are true Excel dates then just subtract:

    =A1-B1

    Format the cell as GENERAL

    Result = 0.878472222218988

    Biff

    "pcor" <[email protected]> wrote in message
    news:[email protected]...
    >I guess I did not explain well enough
    > In A1 I have Wed 12 Apr 2006 01:46:PM
    > In B1 I have Tue 11 Apr 2006 04:41:PMTThat give me an answer of 21 hrs 4
    > min and a few seconds.
    > What I really wnat is the number of days(in this case it wouod ab e about
    > .8(point 8)
    > How can I do that
    > Thanks
    >
    >
    > "Biff" wrote:
    >
    >> Hi!
    >>
    >> A1 = start date/time
    >> B1 = end date/time
    >>
    >> =INT(B1)-INT(A1)
    >>
    >> Biff
    >>
    >> "pcor" <[email protected]> wrote in message
    >> news:[email protected]...
    >> >I have dates and times in 2 cells(a1 and b1). How do I format an other
    >> > cell(c1) to tell me hiow many days there is between cells (a1 and B1).
    >> > Thanks
    >> > Ian

    >>
    >>
    >>




  7. #7
    pcor
    Guest

    Re: Formating dates

    Worked Great Thanks


    "Biff" wrote:

    > As long as these dates are true Excel dates then just subtract:
    >
    > =A1-B1
    >
    > Format the cell as GENERAL
    >
    > Result = 0.878472222218988
    >
    > Biff
    >
    > "pcor" <[email protected]> wrote in message
    > news:[email protected]...
    > >I guess I did not explain well enough
    > > In A1 I have Wed 12 Apr 2006 01:46:PM
    > > In B1 I have Tue 11 Apr 2006 04:41:PMTThat give me an answer of 21 hrs 4
    > > min and a few seconds.
    > > What I really wnat is the number of days(in this case it wouod ab e about
    > > .8(point 8)
    > > How can I do that
    > > Thanks
    > >
    > >
    > > "Biff" wrote:
    > >
    > >> Hi!
    > >>
    > >> A1 = start date/time
    > >> B1 = end date/time
    > >>
    > >> =INT(B1)-INT(A1)
    > >>
    > >> Biff
    > >>
    > >> "pcor" <[email protected]> wrote in message
    > >> news:[email protected]...
    > >> >I have dates and times in 2 cells(a1 and b1). How do I format an other
    > >> > cell(c1) to tell me hiow many days there is between cells (a1 and B1).
    > >> > Thanks
    > >> > Ian
    > >>
    > >>
    > >>

    >
    >
    >


+ 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