+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Double IF Condition..Please Help

  1. #1
    Registered User
    Join Date
    05-20-2011
    Location
    Bangkok
    MS-Off Ver
    Excel 2007
    Posts
    1

    Double IF Condition..Please Help

    Hi, I'm trying to use a double IF condition but I do not know how.

    Basically there are two columns I need to check. One contains date, and the other contains a type of food.

    I want to sum up the amount of a certain type of food that have the date greater than Jan. 1, 2011.

    What i was thinking of was

    IF A1:A10 date > Jan. 1, 2011 COUNTIF B1:B10=Donuts

    Please show me the correct way to do this!

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

    Re: Double IF Condition..Please Help

    You can use COUNTIFS formula in XL 2007

    =COUNTIFS(A1:A1, ">1.1.2011", B1:B10, "Donuts")

    Or you can put references:

    =COUNTIFS(A1:A1, ">"&D1, B1:B10, D2)

    So you can change Date (D1) and type (D2) .
    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)

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