+ Reply to Thread
Results 1 to 9 of 9

formula: If cell is divisible by 10, then TRUE.. how to set it up?

  1. #1
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    260

    formula: If cell is divisible by 10, then TRUE.. how to set it up?

    Hello,

    I have this column A of numbers, I need to create a formula which will place, in column B, a sequential number multiple of 10 each time it finds a cell in column A that contains a number which is divisible by 10, ex:

    at A15 - 1.20 it places a 10 in B15 at A25 - 1.30 it places a 20 in B25 at 1.40 it places a 30 and so on ... please refer to the attached .xls and screenshot.
    thank you!
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by cat3appr; 05-10-2019 at 11:06 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: formula: If cell is divisible by 10, then TRUE.. how to set it up?

    How are 10, 30 and 40 sequential multiples of 10?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: formula: If cell is divisible by 10, then TRUE.. how to set it up?

    Into B2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and drag it down as needed.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  4. #4
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: formula: If cell is divisible by 10, then TRUE.. how to set it up?

    Another option:
    Please Login or Register  to view this content.
    If someone helped achieve your solution, consider clicking "* Add Reputation" on their post.

    If your question has been answered, mark the thread as [SOLVED] using the Thread Tools menu at the top of the thread.

  5. #5
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: formula: If cell is divisible by 10, then TRUE.. how to set it up?

    one more:
    In B3:

    HTML Code: 
    Drag it down.
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  6. #6
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    260

    Re: formula: If cell is divisible by 10, then TRUE.. how to set it up?

    Quote Originally Posted by KOKOSEK View Post
    Into B2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and drag it down as needed.
    Thanks a lot! it worked but... it keeps on repeating the same integer, 20 ...
    I had to apply the formula in another spreadhseet with all the other data, so I modified it substituting A2 with Q2 but I don't think this was an issue?

    =IF(AND(Q2<>"",ISNUMBER(Q2)),IF(Q2=ROUND(Q2,1),MAX($Q$1:Q1)+10,""),"")

    I've included the original .xls , if you manage to have the formula working on lolumn R, so that by dragging down I'll get 10,20,30 and not 20,20,20

    many thanks!
    Attached Images Attached Images
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: formula: If cell is divisible by 10, then TRUE.. how to set it up?

    A slightly modified version of the formula in post #4:
    Please Login or Register  to view this content.
    Edit: the modified version of KOKOSEK's formula from post #3 should be:
    Please Login or Register  to view this content.
    I believe either will work.
    Last edited by Melvosh; 05-10-2019 at 11:32 AM.

  8. #8
    Forum Contributor
    Join Date
    11-10-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    260

    Re: formula: If cell is divisible by 10, then TRUE.. how to set it up?

    yes thanks a lot, super, i appreciate it!

  9. #9
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,765

    Re: formula: If cell is divisible by 10, then TRUE.. how to set it up?

    Cheers @Melvosh.
    You welcome @car3appr.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

+ 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: 6
    Last Post: 03-17-2019, 02:20 PM
  2. Replies: 1
    Last Post: 03-03-2019, 10:38 PM
  3. Replies: 6
    Last Post: 03-26-2016, 05:49 PM
  4. [SOLVED] Formula to determine the first number evenly divisible by 2000
    By Ed_Collins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-14-2015, 09:04 PM
  5. Replies: 5
    Last Post: 10-21-2005, 03:05 AM
  6. [SOLVED] how do an @if formula to meet criteria where x is divisible by 12
    By lax_fan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-16-2005, 07:06 PM
  7. [SOLVED] How get true response when numbers divisible by 12?
    By lax_fan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-16-2005, 07:06 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