Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
SUMIF?? | Excel Worksheet Functions | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |