Results 1 to 7 of 7

Is it possible to have an IF inside SUMPRODUCT?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    05-24-2006
    Location
    Los Angeles
    MS-Off Ver
    2019
    Posts
    328

    Is it possible to have an IF inside SUMPRODUCT?

    Hi,

    Is it possible to use an IF function within Sumproduct?

    I am trying to create a formula that looks like this:

    Sumproduct((RangeA)*if(A1=TRUE,RangeB,RangeC)*(RangeD))

    The actual formula looks like this:

    =SUMPRODUCT((Chart5DateAll<=EOMONTH(F$132,0))*IF(Chart5PeriodFiscalYTD=TRUE,OFFSET(Chart5DateAll,1,0)=OFFSET($F$104,0,MATCH(F$132,Chart5DateAll,0)-1),Chart5DateAll>EOMONTH(F$132,-Chart5PeriodIncrement))*OFFSET(Chart5DateAll,ROWS(F$103:F110)-1,0))

    Problem is it works without the IF function.

    Thanks,

    Lawrence
    Last edited by skysurfer; 03-10-2010 at 12:17 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