Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a range of cells, E64:P75, which need to be summed. Each column of
cells in this range (i.e., E64:E75, F64:F75, etc.) is categorized as either "project" or "BAU" I want two sums calculated from this range: total project and total BAU. Here's the tricky part: the categorization of a particular column in this range as either "project" or "BAU" is in row 59. How can I do this? I can, in theory do the sum by color routine, as conditional formatting has been applied to this range based on the categorizations explained above. However, I would like to avoid VBA, as my boss seems suspicious of it. Any thoughts on how to do this with formulas? Thanks, Dave -- Brevity is the soul of wit. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could add a new row (let's say 76), then use this row to perform a SUM on
each individual column. Then, use the SUMIF function to find your totals. =SUMIF(E59:P59,"project",E76:P76) =SUMIF(E59:P59,"BAU",E76:P76) HTH, Elkar "Dave F" wrote: I have a range of cells, E64:P75, which need to be summed. Each column of cells in this range (i.e., E64:E75, F64:F75, etc.) is categorized as either "project" or "BAU" I want two sums calculated from this range: total project and total BAU. Here's the tricky part: the categorization of a particular column in this range as either "project" or "BAU" is in row 59. How can I do this? I can, in theory do the sum by color routine, as conditional formatting has been applied to this range based on the categorizations explained above. However, I would like to avoid VBA, as my boss seems suspicious of it. Any thoughts on how to do this with formulas? Thanks, Dave -- Brevity is the soul of wit. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks. I thought of this, however, the way the workbook is formatted I'm
not sure I can add the extra row. But thanks. -- Brevity is the soul of wit. "Elkar" wrote: You could add a new row (let's say 76), then use this row to perform a SUM on each individual column. Then, use the SUMIF function to find your totals. =SUMIF(E59:P59,"project",E76:P76) =SUMIF(E59:P59,"BAU",E76:P76) HTH, Elkar "Dave F" wrote: I have a range of cells, E64:P75, which need to be summed. Each column of cells in this range (i.e., E64:E75, F64:F75, etc.) is categorized as either "project" or "BAU" I want two sums calculated from this range: total project and total BAU. Here's the tricky part: the categorization of a particular column in this range as either "project" or "BAU" is in row 59. How can I do this? I can, in theory do the sum by color routine, as conditional formatting has been applied to this range based on the categorizations explained above. However, I would like to avoid VBA, as my boss seems suspicious of it. Any thoughts on how to do this with formulas? Thanks, Dave -- Brevity is the soul of wit. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Dave F wrote: I have a range of cells, E64:P75, which need to be summed. Each column of cells in this range (i.e., E64:E75, F64:F75, etc.) is categorized as either "project" or "BAU" I want two sums calculated from this range: total project and total BAU. Here's the tricky part: the categorization of a particular column in this range as either "project" or "BAU" is in row 59. How can I do this? I can, in theory do the sum by color routine, as conditional formatting has been applied to this range based on the categorizations explained above. However, I would like to avoid VBA, as my boss seems suspicious of it. Any thoughts on how to do this with formulas? Thanks, Dave -- Brevity is the soul of wit. Hi Dave, =SUMPRODUCT((E65:P75)*(E59:P59="project")) =SUMPRODUCT((E65:P75)*(E59:P59="BAU")) Ken Johnson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
That looks simple enough, thanks.
Dave -- Brevity is the soul of wit. "Ken Johnson" wrote: Dave F wrote: I have a range of cells, E64:P75, which need to be summed. Each column of cells in this range (i.e., E64:E75, F64:F75, etc.) is categorized as either "project" or "BAU" I want two sums calculated from this range: total project and total BAU. Here's the tricky part: the categorization of a particular column in this range as either "project" or "BAU" is in row 59. How can I do this? I can, in theory do the sum by color routine, as conditional formatting has been applied to this range based on the categorizations explained above. However, I would like to avoid VBA, as my boss seems suspicious of it. Any thoughts on how to do this with formulas? Thanks, Dave -- Brevity is the soul of wit. Hi Dave, =SUMPRODUCT((E65:P75)*(E59:P59="project")) =SUMPRODUCT((E65:P75)*(E59:P59="BAU")) Ken Johnson |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() You're welcome Dave. Thanks for the feedback. Ken Johnson |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Just tested this and it works perfectly, thanks.
Dave -- Brevity is the soul of wit. "Ken Johnson" wrote: You're welcome Dave. Thanks for the feedback. Ken Johnson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
A tricky Excle table - Dialogue using Google spreadsheets ? | Excel Discussion (Misc queries) | |||
Importing from Excel Sheet Problem | Excel Discussion (Misc queries) | |||
Tricky problem in Data validation - Excel 2003 | Excel Discussion (Misc queries) | |||
Excel Startup Problem | Excel Discussion (Misc queries) | |||
Problem with MS Community Newsgroups? | Excel Discussion (Misc queries) |