+ Reply to Thread
Results 1 to 2 of 2

An Array formula IF's , AND's

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    AR
    MS-Off Ver
    Excel 2010
    Posts
    1

    An Array formula IF's , AND's

    I've tried everything I can thing of to write these formulas but haven't found a way to make them work. I need a formula for the following problem(s)

    Column A Quantity, Column B Description (alpha), Column C Date. Values in the date column range between 1/1/12 and 12/31/17. Approx 100 rows ( number of rows will vary)
    Rows stay sorted by Description.

    Formula 1- find all dates >= 1/1/12 and <=12/31/12 then sum the quantity in the corresponding rows.
    Formula 2 find all dates >= 1/1/13 and <= 12/31/13 then sum the quantity in the corresponding rows.
    Formulas 3-6 same as above with only the dates changing.

  2. #2
    Forum Contributor BenMiller's Avatar
    Join Date
    12-06-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2010
    Posts
    254

    Re: An Array formula IF's , AND's

    With dates in column C and quantities in column A, put your start date in D1 and your end date in D2 and try:

    =SUMPRODUCT(--(C1:C100>=D1)*(C1:C100<=D2),A1:A100)

+ 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