Hi All,
I'm trying to find a solution to my predicament and having attempted a number of ways (fuelled by similar older posts on here), I'm still not getting completely the right result.
In short if I had six columns of random numbers: 10 | 0 | 0 | 10 | 0 | 5
How do I get Excel to return all numbers greater than Zero: 10 | 10 | 5
The Formula should ignore all Zero cells and must not repeat cells, the latter being the problem with the below type of formula
=IF(A2>0,A2,IF(B2>0,B”,IF(C2>0,C2,IF(D2>0,D2,IF(E2>0,E2,IF(F2>0,F2,""))))))
<img src="//www.bannerboy.co.uk/graphics/Example.JPG" width="465" height="184" alt="Example" />
Thanks in advance and I look forward to your suggestions.
J
I'm trying to find a solution to my predicament and having attempted a number of ways (fuelled by similar older posts on here), I'm still not getting completely the right result.
In short if I had six columns of random numbers: 10 | 0 | 0 | 10 | 0 | 5
How do I get Excel to return all numbers greater than Zero: 10 | 10 | 5
The Formula should ignore all Zero cells and must not repeat cells, the latter being the problem with the below type of formula
=IF(A2>0,A2,IF(B2>0,B”,IF(C2>0,C2,IF(D2>0,D2,IF(E2>0,E2,IF(F2>0,F2,""))))))
<img src="//www.bannerboy.co.uk/graphics/Example.JPG" width="465" height="184" alt="Example" />
Thanks in advance and I look forward to your suggestions.
J