+ Reply to Thread
Results 1 to 3 of 3

Thread: SumIF(and function

  1. #1
    Registered User
    Join Date
    09-23-2011
    Location
    Indiana,united states
    MS-Off Ver
    Excel 2007
    Posts
    8

    SumIF(and function

    I have a spreadsheet that sums numbers in coulmn X if another column AD meets the criteria I have in a Vlookup array on another sheet. It works quite nice, but I want to add an "AND" criteria that it only adds the numbers if an "X" is placed in a different column AE, but I can't figure out how to write the formula. Here is the formula I have now, it will sum the numbers in column X if the criteria in clolumn AD is met, I want it to also meet the criteria of "x" in coulmn AE.

    =SUMIF($AD$3:$AD$205,VLOOKUP(A210,Expected,4,FALSE),$X$3:$X$205)
    Last edited by lgibson109; 09-23-2011 at 01:52 PM. Reason: Solved

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: SumIF(and function

    You need SUMIFS...

    =SUMIFS($X$3:$X$205,$AD$3:$AD$205,VLOOKUP(A210,Expected,4,FALSE),$AE$3:$AE$205,"x")
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    09-23-2011
    Location
    Indiana,united states
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: SumIF(and function

    That did it perfectly, thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0