+ Reply to Thread
Results 1 to 11 of 11

An interesting countdown question ...

  1. #1
    Registered User
    Join Date
    05-27-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    An interesting countdown question ...

    So i have been searching a countdown question but I cannot find the specific formula that would be applicable. It's almost hard for me to describe. So here goes nothin. I have a date in A1, and in B2 I have a number that represents how many days untill I reach it, a year from that date (counting down.) Example;

    A1= 27May2012 B1= 365

    So a month from now (27June2012) it should read as such;

    A1= 27May2012 B1= 333

    The funny thing is I have done this with a 90 day coundown and it works fine with this formula =A1+90-TODAY(). However when I substitute 365 for the 90 it doesnt work, the formula remains the formula. Its pretty confusing and frusterating that I cant find this out on my own because I'm sure I'm missing a tiny little detail. Any help would be greatly appreciated.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: An interesting countdown question ...

    Hi,

    I don't understand the question. See if the attached helps me understand it.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: An interesting countdown question ...

    It sounds like the file has been set for manual calculation. Click on the Formulas tab, then Calculation Options and ensure that Automatic has been checked.

    Hope thsi helps.

    Pete

  4. #4
    Registered User
    Join Date
    05-27-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: An interesting countdown question ...

    Sorry if my question was not clear, sometimes I dont get even get it. I will attach a spreadsheet. Also my calculations are set to automatic.
    Let me know if you need anymore clarification.
    Attached Files Attached Files

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: An interesting countdown question ...

    Hi,

    Here is what I think is happening. You are subtracting Today() which gives a negative number. It is negative because the date in F4 + 365 is not bigger than Today. Excel can't deal with negative dates so it thinks you must mean to make it a TEXT cell and gives the formula. Change the 365 to 700 and see what happens.

  6. #6
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: An interesting countdown question ...

    The cell H4 format is Text, change to Number
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: An interesting countdown question ...

    Hi Haseeb A,

    I tried that with no success.

  8. #8
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: An interesting countdown question ...

    Hi Marvin,

    First change the format to Number, then press F2, then enter

  9. #9
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: An interesting countdown question ...

    OK - that did it!

    Thanks.

  10. #10
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: An interesting countdown question ...

    Hi ElevenGeneralOrders,

    Try formatting the answer column as number.

    No longer confined to quarters, Oops - sorry for the double down.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  11. #11
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: An interesting countdown question ...

    ElevenGeneralOrders,

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem. Once you have done this please send me a PM and I will remove this request.

    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.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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