+ Reply to Thread
Results 1 to 4 of 4

Mod function to find specifically 5 only

  1. #1
    Forum Contributor
    Join Date
    03-05-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    301

    Mod function to find specifically 5 only

    Hi All

    I'm using the mod function to check if the row is a mulitple of 5

    Please Login or Register  to view this content.
    The mod function fires everytime it hits the Mod: 5, 10, 15, 20, 25...

    The trick is that I only want to find specifically 5, 15, 25, 35, 45,...

    How is this done please?


    Cheers

  2. #2
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Mod function to find specifically 5 only

    You mean

    Please Login or Register  to view this content.


    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  3. #3
    Forum Contributor
    Join Date
    03-05-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    301

    Re: Mod function to find specifically 5 only

    Thanks for your response Alvin.

    Target.Row Mod 10 = 5 didn't work in that way. But I did follow this thinking and used this:

    Please Login or Register  to view this content.
    Cheers

  4. #4
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Mod function to find specifically 5 only

    You're welcome, glad it you got it working now



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

+ 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. [SOLVED] Have a number value convert to text specifically
    By pfaz73 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-27-2012, 12:58 PM
  2. Formatting a cell specifically by date
    By rymember in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-14-2011, 09:04 AM
  3. Counting Unique Entries (Dates, specifically)
    By SJSkilbred in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-06-2010, 02:05 AM
  4. Activating workbook without naming it specifically
    By Patrick Young in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-08-2005, 11:05 AM
  5. [SOLVED] Bloomberg DDE Functions in Excel - BLPH function specifically
    By shady757 in forum Excel General
    Replies: 1
    Last Post: 08-04-2005, 12:05 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