+ Reply to Thread
Results 1 to 3 of 3

SUMIF with AND

  1. #1
    vicvega
    Guest

    SUMIF with AND

    I was trying to search several different sheets pull out some data that might
    or might not be in all of the sheets and have it summed at the moment I am
    using combo of Vlookups such as:

    =((VLOOKUP(F16,A!$D$9:$J$1988,4,FALSE))+
    (VLOOKUP(F16,B!$D$9:$J$1988,4,FALSE))+
    (VLOOKUP(F16,'C'!$D$9:$J$1988,4,FALSE))+
    (VLOOKUP(F16,D!$D$9:$J$1988,4,FALSE))+
    (VLOOKUP(F16,E!$D$9:$J$1988,4,FALSE)))


    Is there a way to get it to work using SUMIF I tried using sumif with using
    AND in some of the arguments of the function with no luck,, any ideas would
    be appreciated


  2. #2
    Biff
    Guest

    Re: SUMIF with AND

    Hi!

    Here's one way:

    =SUMPRODUCT(SUMIF(INDIRECT("'"&{"A","B","C","D","E"}&"'!D9:D1988"),F16,INDIRECT("'"&{"A","B","C","D","E"}&"'!G9:G1988")))

    Biff

    "vicvega" <[email protected]> wrote in message
    news:[email protected]...
    >I was trying to search several different sheets pull out some data that
    >might
    > or might not be in all of the sheets and have it summed at the moment I am
    > using combo of Vlookups such as:
    >
    > =((VLOOKUP(F16,A!$D$9:$J$1988,4,FALSE))+
    > (VLOOKUP(F16,B!$D$9:$J$1988,4,FALSE))+
    > (VLOOKUP(F16,'C'!$D$9:$J$1988,4,FALSE))+
    > (VLOOKUP(F16,D!$D$9:$J$1988,4,FALSE))+
    > (VLOOKUP(F16,E!$D$9:$J$1988,4,FALSE)))
    >
    >
    > Is there a way to get it to work using SUMIF I tried using sumif with
    > using
    > AND in some of the arguments of the function with no luck,, any ideas
    > would
    > be appreciated
    >




  3. #3
    vicvega
    Guest

    Re: SUMIF with AND

    It does the same thing for me, but the problem is it takes excel much longer
    to calculate the cells creating lag/delay, this was something that I was
    trying to reduce with using a different function, I probably should have
    mentioned that in the first post,, thanks much for the effort though

    "Biff" wrote:

    > Hi!
    >
    > Here's one way:
    >
    > =SUMPRODUCT(SUMIF(INDIRECT("'"&{"A","B","C","D","E"}&"'!D9:D1988"),F16,INDIRECT("'"&{"A","B","C","D","E"}&"'!G9:G1988")))
    >
    > Biff
    >
    > "vicvega" <[email protected]> wrote in message
    > news:[email protected]...
    > >I was trying to search several different sheets pull out some data that
    > >might
    > > or might not be in all of the sheets and have it summed at the moment I am
    > > using combo of Vlookups such as:
    > >
    > > =((VLOOKUP(F16,A!$D$9:$J$1988,4,FALSE))+
    > > (VLOOKUP(F16,B!$D$9:$J$1988,4,FALSE))+
    > > (VLOOKUP(F16,'C'!$D$9:$J$1988,4,FALSE))+
    > > (VLOOKUP(F16,D!$D$9:$J$1988,4,FALSE))+
    > > (VLOOKUP(F16,E!$D$9:$J$1988,4,FALSE)))
    > >
    > >
    > > Is there a way to get it to work using SUMIF I tried using sumif with
    > > using
    > > AND in some of the arguments of the function with no luck,, any ideas
    > > would
    > > be appreciated
    > >

    >
    >
    >


+ 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