+ Reply to Thread
Results 1 to 4 of 4

Formula to add days to a date is not working - spreadsheet uploaded.

  1. #1
    Registered User
    Join Date
    03-11-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    41

    Formula to add days to a date is not working - spreadsheet uploaded.

    Hello,

    I have a formula in Column N that should populate a date if column L is yes, it will take column M and add 182 days.

    THis is the formula I have: =IF(AND(L6="Yes",ISNUMBER(M6)),M6+182,"")
    I'm thinking the 'ISNUMBER' should be something different?
    I'd like to have it also that if column L does not say 'yes' or is blank that column N stays blank - so formula only populates for those lines that say "yes" in column L...

    Is that possible?

    Thank you so much!
    Attached Files Attached Files

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Formula to add days to a date is not working - spreadsheet uploaded.

    I think your problem comes from the fact that your data in column M are not Date. And Excel can't even translate it to a date with a Datevalue function.
    I tried putting a real date in a cell in column M and your formula works well.
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Registered User
    Join Date
    03-11-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Formula to add days to a date is not working - spreadsheet uploaded.

    Hi,

    My column M data comes from another giant database within the same workbook... the dates are updated frequently so the formula is there to make sure the information is up to date. Is there no way to add a date without getting rid of the formula in column M?

    THanks again!

  4. #4
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Formula to add days to a date is not working - spreadsheet uploaded.

    Actually column M is a formula that refer to an external workbook
    Please Login or Register  to view this content.
    You want to check this workbook and make sure the cells it refers to are really DATES.

+ 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. Date format wont work? Spreadsheet uploaded
    By domgilberto in forum Excel General
    Replies: 4
    Last Post: 10-21-2014, 03:59 PM
  2. [SOLVED] How to calculate for non working days in a spreadsheet that has already est formulas
    By Kimmancer in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 08-22-2012, 01:22 PM
  3. Previous working days date (Mon-Fri working week).
    By intothewild in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2011, 01:00 PM
  4. Formula for adding 7 working days to a date
    By MissLeigh in forum Excel General
    Replies: 4
    Last Post: 07-14-2011, 03:53 AM
  5. formula to get date Today-1 (Only working days)
    By Chetan Chauhan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-02-2010, 07:14 AM

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