+ Reply to Thread
Results 1 to 11 of 11

If functions and date

  1. #1
    Registered User
    Join Date
    09-30-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    7

    If functions and date

    Hi everyone,

    I am trying to create a function that will tell me when something is past due.

    I have a excel document for my office's accounts payable, it has a master sheet where all of the companies that we pay are listed, and they are linked so that you can click on the name and it will take you right to the page to see a more detailed breakdown.

    I am trying to figure out how to make something on the master page to tell me when something is due, even if it just makes an X when it is past due.

    There are about 73 worksheets in this document and each worksheet contains many dates.

    Is this even possible for me to do something like this? If not does anyone have any suggestions?

    Thanks!
    Last edited by MollyKinnz; 09-30-2009 at 11:32 AM.

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

    Re: If functions and date

    Possibly with Conditional Formatting, you can colour the cell(s) that are past due...

    Select date cells and go to Format|Conditional Formatting

    apply:

    Cell Value is >> Less Than >> =TODAY()

    Click Format and choose colour pattern.
    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
    Registered User
    Join Date
    09-30-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: If functions and date

    Is it possible to make it show on my master page?

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

    Re: If functions and date

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  5. #5
    Registered User
    Join Date
    09-30-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: If functions and date

    Hi again,

    Here is a dummy workbook, it is a lot smaller than mine but I think that it should help.
    In sheet 2 you can see that there are some dates that have become past due and I would like to somehow have excel notify me on the master page when it comes due for each one.
    Attached Files Attached Files

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

    Re: If functions and date

    This is the formula I would apply in C4:

    =IF(AND(MIN(INDIRECT("'"&A4&"'!C:C"))>0,MIN(INDIRECT("'"&A4&"'!C:C"))<TODAY()),"X","")

    based on if earliest date in column C is past....then enter an "X"

    but make sure your Company name matches the Sheetname... in the sample you have a space but tab does not....

    See attached.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-30-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: If functions and date

    Wow, I'm confused, where do I enter the sheetname?

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

    Re: If functions and date

    Well, Column A is your customer list.. I presume each tab has a corresponding Customer Name as the tab title... instead of just Sheet1, Sheet2, etc....

    So as long as the word in column A is the same as the tab name for the corresponding link, then it should work?

    Clearer?

  9. #9
    Registered User
    Join Date
    09-30-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: If functions and date

    AHA! I works awesome thank you so much!

  10. #10
    Registered User
    Join Date
    09-30-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: If functions and date

    Ok I have run into a problem now...

    Most of them work, some of them say #REF

  11. #11
    Registered User
    Join Date
    09-30-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: If functions and date

    Nevermind I have figured it out!

+ 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