+ Reply to Thread
Results 1 to 7 of 7

Formula to skip uneven numbers

  1. #1
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Formula to skip uneven numbers

    Hi! I have this problem where I want to sort out the uneven numbers.

    I wanna do something like this.

    Please Login or Register  to view this content.
    How can I do that? Will be thankful for any kind of help
    Last edited by RinorM; 06-22-2014 at 06:53 AM.

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523

    Re: Formula to skip uneven numbers

    Hi RinorM,

    Your thread title states you're after a formula but it seems that you're after some code (VBA) which you then want to do something with uneven numbers which also goes against the thread title

    If you could confirm I may be able to help.

    Thanks,

    Robert
    Last edited by Trebor76; 06-22-2014 at 07:10 AM.
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Formula to skip uneven numbers

    Hi, sorry for the misleading header....And now I cant change it back.

    What I want to do is in the description, so dont mind the heading. I want a VBA code to round up the even numbers, for example if it becomes 3/2 I want it to be 2. Thank you Robert.

    / Rinor

  4. #4
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Formula to skip uneven numbers

    I have written the following code:

    Please Login or Register  to view this content.
    It works but it doesn't give me the correct values. Have I missed something out?

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to skip uneven numbers

    That's the first time I've ever heard someone refer to odd numbers as uneven numbers.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Formula to skip uneven numbers

    haha Sorry for the misleading title...

  7. #7
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Formula to skip uneven numbers

    I found a solution to my problem:


    Please Login or Register  to view this content.

  8. #8
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523

    Re: Formula to skip uneven numbers

    Try this:

    Please Login or Register  to view this content.
    Robert

  9. #9
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Formula to skip uneven numbers

    I found a solution to my problem:


    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    04-28-2014
    Location
    Sverige
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Formula to skip uneven numbers

    Thank you for your sudgestion Trebor!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Running formula with uneven number of rows
    By jacquiG in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2012, 04:56 AM
  2. Replies: 9
    Last Post: 06-12-2012, 12:31 AM
  3. NPV Formula Using Uneven, Monthly Cash Flows
    By DanoT in forum Excel General
    Replies: 1
    Last Post: 02-20-2012, 05:02 PM
  4. Formula for avg skip, max skip, longest out
    By Jordans121 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-12-2010, 04:56 PM
  5. Sum and Skip Negative Numbers
    By AlDeb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-20-2005, 11:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1