if formula maybe?

tmk0427

Board Regular
Joined
Dec 14, 2005
Messages
82
Office Version
  1. 365
Hi, I'm trying to figure out the best formula to sum each row of cells in D1 and E1 as outlined by the following:

A1 B1 C1 D1 E1
10 10 10 30 30
A2 B2 C2 D2 E2
0 10 0 10 30
A3 B3 C3 D3 E4
10 10 NA 20 20

If any of the cells A1:C1, A2:C2, A3:C3 have max value of 10 or 0 or NA then D1, D2, D3 should sum the values that are greater than zero (the formula I think will work for the D column cells is =sumif(A1:A3,">=0"). However, in E1, E2, E3 I would like a formula that sums the values in the row of cells A1:C1, A2:C2, A3:C3 to include 10 even if there is a 0 value but not include 10 if there is a NA or blank value in of those row cells.

I hope that makes sense.

Thanks.
TK
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,226,013
Messages
6,188,421
Members
453,473
Latest member
bbugs73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top