• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Using a rang cells in multi functions (with empty cells)

Na'il

New Member
I want to use sum for rang of cells with some other conditions
cells : 8x , 8 , 55x , (empty cell)

=SUM(IF(FIND("x";C3:E3;1)<>0;LEFT(C3:E3;LEN(C3:E3)-1);C3:E3))

Not working!!

The answer must be 71 by that functions
 

Attachments

  • ask.xlsx
    8.8 KB · Views: 9
Last edited:
Hello to you too
Try =SUMPRODUCT(--(SUBSTITUTE(C3:E3;"x";"")))

And BTW do NOT used merged cells, they are nothing but trouble
 
Try, to use Text function to force empty cell into 0 value.

The formula become :

=SUMPRODUCT(--SUBSTITUTE(TEXT(C3:F3,"0;@"),"x",""))

78113
 
Last edited:
Back
Top