G
Guest
How do I omit a cell that contains a negative number in an addition formula?
I can't use sum because there are cells in between.
I can't use sum because there are cells in between.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Ron Coderre said:Try something like this:
A1: =SUMPRODUCT((MOD(COLUMN(A2:AD2),2)=1)*(A2:AD2>0)*A2:AD2)
That formula add the values from Row_2 in odd-numbered columns where the
cell value is greater than zero.
Is that something you can work with?
***********
Regards,
Ron
XL2002, WinXP
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.