ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sumif Help (https://www.excelbanter.com/excel-worksheet-functions/244599-sumif-help.html)

Curtis

Sumif Help
 
I have a workbook with multiple worksheets (named 1401 thru 1491). In each of
these sheets and in the same cell (d254) is an identifier say the letter c. I
want to be able to look at this cell in all the sheets and if the cell
contains the letter c then I want to add the values in cell d256 (again in
each sheet)

Thanks

Luke M

Sumif Help
 
Unforutnately, SUMIF is not a 3D supported function. What you could do is this:
In another cell, say D257:
IF(D254="c",D256,0)
Then create a 3D summation going through your new formula:
=SUM(1401:1491!D257)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Curtis" wrote:

I have a workbook with multiple worksheets (named 1401 thru 1491). In each of
these sheets and in the same cell (d254) is an identifier say the letter c. I
want to be able to look at this cell in all the sheets and if the cell
contains the letter c then I want to add the values in cell d256 (again in
each sheet)

Thanks


Domenic[_2_]

Sumif Help
 
In article ,
Curtis wrote:

I have a workbook with multiple worksheets (named 1401 thru 1491). In each of
these sheets and in the same cell (d254) is an identifier say the letter c. I
want to be able to look at this cell in all the sheets and if the cell
contains the letter c then I want to add the values in cell d256 (again in
each sheet)

Thanks



Try...

=SUMPRODUCT(SUMIF(INDIRECT(ROW(INDIRECT("1401:1491 "))&"!D254"),"C",INDIRE
CT(ROW(INDIRECT("1401:1491"))&"!D256")))

--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions

Jacob Skaria

Sumif Help
 
Try the below formula. I would suggest to test this with small number of
sheets say 5.

--Make sure all sheet names are present..and valid (even spaces
between/after/before the sheet name will return error)

Try and feedback

=SUMPRODUCT(SUMIF(INDIRECT("'"& ROW(1401:1491) &"'!D254"),"c",INDIRECT("'"&
ROW(1401:1491) &"'!D256")))

If this post helps click Yes
---------------
Jacob Skaria


"Curtis" wrote:

I have a workbook with multiple worksheets (named 1401 thru 1491). In each of
these sheets and in the same cell (d254) is an identifier say the letter c. I
want to be able to look at this cell in all the sheets and if the cell
contains the letter c then I want to add the values in cell d256 (again in
each sheet)

Thanks



All times are GMT +1. The time now is 08:29 PM.

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