MixedUpExcel
Board Regular
- Joined
- Apr 7, 2015
- Messages
- 222
- Office Version
- 365
- Platform
- Windows
Hi,
I have multiple Rows (within a Column) that I want to SUM but some have #N/A in them.
When I have the formula to create the Total, I want to be able to drag it across 24 Columns.
I have found 2 examples - both work in various situations but not my specific one.
Can anyone suggest a working solution that I can create in the first Column and then drag to the right?
- Works if I need to SUM up all values in the Column (but in this case I just need to SUM up the PACK Values)
- Would work but I can't select the Cells as they are in the curly brackets (array) so I can't then drag them across all the other Columns
Example Table:
<tbody>
</tbody>
Thanks in advance.
Simon
I have multiple Rows (within a Column) that I want to SUM but some have #N/A in them.
When I have the formula to create the Total, I want to be able to drag it across 24 Columns.
I have found 2 examples - both work in various situations but not my specific one.
Can anyone suggest a working solution that I can create in the first Column and then drag to the right?
Code:
=SUMIF(C69:C112,"<>#N/A")
Code:
[COLOR=#333333]=SUM(SUMIF(INDIRECT({"D4","E6","F8","G10","H12","I14","J16","K18","L20","M22","N24","O26"}),"<>#N/A"))[/COLOR]
Example Table:
2017 | 2018 | ||||||||||||||||||||||
JAN | FEB | MAR | APR | MAY | JUN | JUL | AUG | SEPT | OCT | NOV | DEC | JAN | FEB | MAR | APR | MAY | JUN | JUL | AUG | SEP | OCT | NOV | |
Pack 1 | 250 | ||||||||||||||||||||||
Component 1 | VALUE | ||||||||||||||||||||||
Component 2 | VALUE | ||||||||||||||||||||||
Pack 2 | 175 | ||||||||||||||||||||||
Component 1 | VALUE | ||||||||||||||||||||||
Component 2 | VALUE | ||||||||||||||||||||||
Component 3 | VALUE | ||||||||||||||||||||||
Pack | 93 | ||||||||||||||||||||||
Component 1 | VALUE | ||||||||||||||||||||||
Component 2 | VALUE | ||||||||||||||||||||||
Component 3 | VALUE | ||||||||||||||||||||||
Component 4 | VALUE | ||||||||||||||||||||||
Component 5 | VALUE | ||||||||||||||||||||||
Pack | #N/A | ||||||||||||||||||||||
Component 1 | #N/A | ||||||||||||||||||||||
Component 2 | #N/A | ||||||||||||||||||||||
Component 3 | #N/A | ||||||||||||||||||||||
Pack | #N/A | ||||||||||||||||||||||
Component 1 | #N/A | ||||||||||||||||||||||
Component 2 | #N/A | ||||||||||||||||||||||
Component 3 | #N/A | ||||||||||||||||||||||
Component 4 | #N/A | ||||||||||||||||||||||
Pack | 374 | ||||||||||||||||||||||
Component 1 | VALUE | ||||||||||||||||||||||
Component 2 | VALUE | ||||||||||||||||||||||
Component 3 | VALUE | ||||||||||||||||||||||
Component 4 | VALUE | ||||||||||||||||||||||
Pack | 187 | ||||||||||||||||||||||
Component 1 | VALUE | ||||||||||||||||||||||
Component 2 | VALUE | ||||||||||||||||||||||
Component 3 | VALUE | ||||||||||||||||||||||
Pack | #N/A | ||||||||||||||||||||||
Component 1 | #N/A | ||||||||||||||||||||||
Component 2 | #N/A | ||||||||||||||||||||||
Component 3 | #N/A | ||||||||||||||||||||||
Component 4 | #N/A | ||||||||||||||||||||||
Component 5 | #N/A | ||||||||||||||||||||||
PACK TOTAL | 1079 |
<tbody>
</tbody>
Thanks in advance.
Simon