+ Reply to Thread
Results 1 to 2 of 2

help with a SUMIF function

  1. #1
    Registered User
    Join Date
    01-27-2005
    Posts
    31

    help with a SUMIF function

    hi all,

    I am currently working with SUMIF functions: e.g:

    =SUMIF($5:$J$5000,$E$15,$C$5:$C$5000)

    what I now want to do is to have two criteria's for this function, that would refer to two different columns. How would I do this?

    many thanks
    Leon
    Last edited by kestrel; 03-17-2005 at 08:10 AM.

  2. #2
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    This solution should give you an idea:

    =SUMPRODUCT(--(J5:J5000=E15),--(K5:K5000=F15),C5:C5000)

    Ola Sandström


    Note:
    I removed the $ to make it easier to read.
    --(...) is used to convert a True/False to 1/0

+ 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