+ Reply to Thread
Results 1 to 3 of 3

Macros to mark number in a column, if number is x+10, given previously marked number x.

  1. #1
    Registered User
    Join Date
    04-06-2013
    Location
    Johor Bahru
    MS-Off Ver
    Excel 2010
    Posts
    15

    Question Macros to mark number in a column, if number is x+10, given previously marked number x.

    For example I have a column with different numbers. Making the first number as reference (lets say "a"), I want to highlight the first number that is at least a+10. lets say number "b" is that number. Then the new reference will be number "b" and for next number in column to be highlighted should be at least "b + 10". and so on. I have attached a sample excel file, to display what I require if its not clear from this..

    Or see this link for what i require. https://imgur.com/cr2lFbR
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: Macros to mark number in a column, if number is x+10, given previously marked number x

    Hello,

    Try this code :

    Please Login or Register  to view this content.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Registered User
    Join Date
    04-06-2013
    Location
    Johor Bahru
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Macros to mark number in a column, if number is x+10, given previously marked number x

    Thanks a lot

+ 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. Replies: 1
    Last Post: 02-04-2015, 03:54 PM
  2. Randon Number Selection formula that excludes previously selected number
    By lhousesoccer in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-25-2014, 05:52 PM
  3. Replies: 10
    Last Post: 10-30-2013, 07:29 PM
  4. Lookup largest number in a column treating negative number as postive number
    By xWiZardx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2010, 08:09 AM
  5. Replies: 7
    Last Post: 12-18-2008, 07:34 PM

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