• 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.

nested formula organize odds and evens number

I want a formula for organize odd s and even numbers

  • SUMPRODUCT

    Votes: 1 100.0%
  • MOD

    Votes: 1 100.0%

  • Total voters
    1
Hi febausa..

another option..

Excel already have function to check if Number is Even / Odd.. which looks like doesn't work with range.. but you can tweak it a bit..

In G2 =SUMPRODUCT(ISODD(B2:F2+0)+0)

and if need the final answer in G7.. and dont need those.. G2:G4.. you can use..
In G7 =SUMPRODUCT(--ISODD(B2:F4+0))

For EVEN.. change ISODD to ISEVEN
 
Back
Top