• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Sumif from mutliple sheet.

Shabbo

Member
Dear Sir,
I wanted to apply sumif,
if not found in sheet1 then should find from sheet2.
 

Attachments

  • Sumif Help.xlsx
    9.1 KB · Views: 10
try this in sheet3 cell B2
=IF(SUMIF(Sheet1!$A:$A,Sheet3!A2,Sheet1!$B:$B)<1,SUMIF(Sheet2!$A:$A,Sheet3!A2,Sheet2!$B:$B),SUMIF(Sheet1!$A:$A,Sheet3!A2,Sheet1!$B:$B))
 
you can to Use this ,
Code:
=SUMPRODUCT(SUMIF(INDIRECT("'"&Sheets&"'!"&"a2:a1000"),$A2,INDIRECT("'"&Sheets&"'!"&"b2:b1000")))
 

Attachments

  • Sumif Help.xlsx
    12.1 KB · Views: 5
Back
Top