+ Reply to Thread
Results 1 to 9 of 9

Using IF and ISBLANK to calculate dates

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Using IF and ISBLANK to calculate dates

    Hi

    I have a relatively large spreadsheet that is being used to calculate due dates for requests for information, some need to be paid for and others don't.

    I have 3 columns of dates

    A is date request was received
    L is date payment was received (if one is needed)
    N is due date

    A and N will always have dates in them and L will only have a date on if we have charged.

    What I am looking to do is calculate 40 calendar days between A and N but for excel to recognise that if there is a date in L that it switches the calculation to 40 days between L and N

    Hopefully this makes sense??

    Any advice gratefully received!!

    Thanks

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Using IF and ISBLANK to calculate dates

    Good day,

    Use the following for Row#1 of your data

    Please Login or Register  to view this content.
    Show your appreciation - Click the star icon if this post has been helpful

  3. #3
    Registered User
    Join Date
    06-21-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Using IF and ISBLANK to calculate dates

    Thanks for this

    I have input the formula and it has come up with a due date but how can I get it to add 40 days onto the calculation?

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Using IF and ISBLANK to calculate dates

    Hi

    Just add these...

    =IF(L1="",N1-A1,N1-L1)+40
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Registered User
    Join Date
    06-21-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Using IF and ISBLANK to calculate dates

    So nearly there ... The due date is coming up with 0-jan-00 !!

    Am I being silly?

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Using IF and ISBLANK to calculate dates

    ...Am I being silly?
    Pls. do not say this.. Maybe i did not understand your request..

    See the example.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-21-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Using IF and ISBLANK to calculate dates

    Example.xls

    I am trying to get it to work for me and it won't ... hmmm

    I have attached what I am trying to do and input the formula in, but in N2 it is still coming up with 00-Jan-00.

    Any suggestions gratefully received!

  8. #8
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Using IF and ISBLANK to calculate dates

    Good day,

    This is because of 'circular references' in Column N.

    On re-reading all threads, I think I have now understood your requirment. Please refer attachment and let me know if this is what you're looking for.

    Show your appreciation - Click the star icon if this post has been helpful
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    06-21-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Using IF and ISBLANK to calculate dates

    have had a look and fingers crossed it works!!

    Thank you both :-D

+ 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