Results 1 to 6 of 6

Nested IF/And Statement

Threaded View

  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    8

    Nested IF/And Statement

    I received some help yesterday to write an expression to count only results that were in the previous month,
    =SUMPRODUCT(--(TEXT(E2:E16,"mm-yy")=TEXT(EOMONTH(TODAY(),-1),"mm-yy")))
    Today I'm wondering if I can combine the previous code with the code below using an IF/And nested statement.
    =IF($F:$F<3,1,0)
    Would it look something like this?
    =AND(SUMPRODUCT(--(TEXT($E:$E,"mm-yy")=TEXT(EOMONTH(TODAY(),-1),"mm-yy")))),($F:$F<3,1,0))
    I can post a link for the worksheet if you need, but just looking to combine those two criteria into one.
    Last edited by noobtoexcel; 03-01-2012 at 02:50 PM.

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