ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sumif (https://www.excelbanter.com/excel-worksheet-functions/217643-sumif.html)

Neil

sumif
 
can I use the sumif function if the "range" and "range to sum" are on
multiple pages in the same file
-
Thank you

Mike H

sumif
 
Hi,

Yes you can

=SUMIF(A1:A21,"something",Sheet2!A1:A21)

you don't even have to have the formula on the same sheet as either of the
ranges

=SUMIF(Sheet3!A1:A21,"something",Sheet2!A1:A21)

Mike
"Neil" wrote:

can I use the sumif function if the "range" and "range to sum" are on
multiple pages in the same file
-
Thank you


Neil

sumif
 
The range is on 3 different pages
=SUMIF(A1:A21,"something",Sheet2!A1:A21)

I.E.: Sheet2!A1:A21,Sheet3!A1:A21,Sheet4!A1:A21
how do I put that in the formula

--
Thank you


"Mike H" wrote:

Hi,

Yes you can

=SUMIF(A1:A21,"something",Sheet2!A1:A21)

you don't even have to have the formula on the same sheet as either of the
ranges

=SUMIF(Sheet3!A1:A21,"something",Sheet2!A1:A21)

Mike
"Neil" wrote:

can I use the sumif function if the "range" and "range to sum" are on
multiple pages in the same file
-
Thank you



All times are GMT +1. The time now is 10:46 AM.

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