+ Reply to Thread
Results 1 to 2 of 2

Multiple Condition Help needed....

  1. #1
    Curtis
    Guest

    Multiple Condition Help needed....

    I currently use the following formula to track employee earnings.

    =SUMPRODUCT(('2004-JAN_05'!$C$2:$C$20000=$A43)*('2004-JAN_05'!$J$2:$J$20000>0)*'2004-JAN_05'!$J$2:$J$20000)

    Where
    Column C represents the emplyee
    Column J represents the earnings

    I need to add another condition that adds the month to the criteria ( that
    would be in cloumn B). Note cloumn B contains days for any given month so I
    need to total all earnings by employee by month.

    Thanks


  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    Curtis,

    For January.

    =SUMPRODUCT(('2004-JAN_05'!$C$2:$C$20000=$A43)*('2004-JAN_05'!$J$2:$J$20000>0)*(month('2004-JAN_05'!$B$2:$B$20000)=1)*('2004-JAN_05'!$J$2:$J$20000))

    Change the =1 in the second condition to match the month number for Feb-December. (2-12).


    HTH

    Steve

+ 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