excel - Adding up values in columns with conditions -


Being the first and the first person on this site, I really appreciate your help. WK1WK2WK3WK4WK5 Total 3 hours total, and & lt; & Gt;

4)

Susan 5 5 0 5 8 23 15

SO23257561 Example

From my table, I want to add only the first three columns in which there is no zero if the first three has zero, then check on the next column and repeat it again with zero value to complete three columns. Add to Colonel H in the first 3 weeks & lt; & Gt; Some functions in 0 (like I had to do manually).

If I can learn any set with VB code set or formula or macros, then thank you very much. I am using Excel 2007.

This is the reference to complex formula Ali M ctrl - changes - Enter :

  = IF (COUNTIF (A2: F2, "<> 0") = 0,0, SUM (A2 : Index (A2: F2, small (IF (A2: F2 <0; column; (A2: F2), ""), min (3, <3>   < p> Note that if there are fewer than zero zero values ​​then this works.      / div> 

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -