+ Reply to Thread
Results 1 to 2 of 2

IF/AND Statement

Hybrid View

  1. #1
    Registered User
    Join Date
    07-06-2006
    Posts
    2

    IF/AND Statement

    I am trying to nest several (7), IF/AND statements into a cell. My goal is to use my clients last payment date (A2) to produce an aging accounts dues column (D2).

    IF A2 is <= 275, "Current"
    IF A2 is > 305, But <=335, "Due in 60 Days"
    IF A2 is > 335, But <=365, "Due in 30 Days"
    IF A2 is > 395, But <=425, "30 days Past Due"
    IF A2 is > 425, But <=455, "60 days Past Due"
    IF A2 is > 455, But <=485, "90 days Past Due"
    IF A2 is > 515, "120+ days Past Due"

    While this feels like a simple IF AND combination, I am have difficulty getting it to work correctly.

    Thanks.
    Eric
    Last edited by greatday007; 02-10-2010 at 02:25 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: IF/AND Statement

    Here, try this:

    =LOOKUP(A2,{0,275,305,335,365,395,425,455,485,515},{"","Current","Due in 60 day","Due in 30 days","","30 days Past due","60 days Past Due","90 days Past Due","120+ days Past Due"})

    Note red "" where you didn't define what if higher than 365 and less than 395 so I left empty.
    If you need something write between " "
    Last edited by zbor; 02-10-2010 at 02:30 PM.
    Never use Merged Cells in Excel

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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