ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF across worksheets (https://www.excelbanter.com/excel-worksheet-functions/73756-sumif-across-worksheets.html)

Patricia

SUMIF across worksheets
 
Is is possible to use sumif on one worksheet and then point to another
worksheet within the same workbook?

Example: sumif(Sheet1!A:A,A2,Sheet1!B:B)

When I do this it does not give the correct sum and when you click in the
formual the range and sum range both have #NUM next to it

Bob Phillips

SUMIF across worksheets
 
Works fine here, sound like you have some error in the data


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Patricia" wrote in message
...
Is is possible to use sumif on one worksheet and then point to another
worksheet within the same workbook?

Example: sumif(Sheet1!A:A,A2,Sheet1!B:B)

When I do this it does not give the correct sum and when you click in the
formual the range and sum range both have #NUM next to it




Bernie Deitrick

SUMIF across worksheets
 
Patricia,

=SUMIF(Sheet1!A:A,A2,Sheet1!B:B)

worked perfectly for me.

HTH,
Bernie
MS Excel MVP


"Patricia" wrote in message
...
Is is possible to use sumif on one worksheet and then point to another
worksheet within the same workbook?

Example: sumif(Sheet1!A:A,A2,Sheet1!B:B)

When I do this it does not give the correct sum and when you click in the
formual the range and sum range both have #NUM next to it





All times are GMT +1. The time now is 11:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com