+ Reply to Thread
Results 1 to 5 of 5

Small function with a arithmetic calculation

Hybrid View

  1. #1
    Registered User
    Join Date
    08-11-2017
    Location
    Budapest
    MS-Off Ver
    2016
    Posts
    68

    Small function with a arithmetic calculation

    I am looking for a way to use small function in this manner :

    =SMALL(--Left(Int(F5/10),int(g5/10),int(h5/10),int(i5/10),int(j5/10),int(k5/10))),{1,2,3,4,5,6})
    This is wrong, it doesn't work. I write it to explain what I'm trying to do only.

    The values in range F5:K5 first divided by 10 and then, then the first digit of the divisions are taken by left function, and then the output numbers are sorted in ascending order.

    Example : if F5:5 ---> 5/10 =0,5 ---> 0
    if G5:70 ---->70/10 = 7 ---->7

    with small function it will be : 0, 7


    Thanks.

  2. #2
    Registered User
    Join Date
    08-11-2017
    Location
    Budapest
    MS-Off Ver
    2016
    Posts
    68

    Re: Small function with a arithmetic calculation

    I am also open to other formulas if there is any. Basically, I want excel take the first digits of numbers and order them with small function. but I have problem with one digit numbers, I want small function to take 0 as the first digit number when there is a one digit number in the cell.

  3. #3
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    514

    Re: Small function with a arithmetic calculation

    Maybe

    =SMALL(--LEFT(INT(F5:K5/10)),{1,2,3,4,5,6})

  4. #4
    Registered User
    Join Date
    08-11-2017
    Location
    Budapest
    MS-Off Ver
    2016
    Posts
    68

    Re: Small function with a arithmetic calculation

    Wonderful! it works like charm. thanks, Root!

  5. #5
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    514

    Re: Small function with a arithmetic calculation

    You are welcome.

+ 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] Long calculation time under a small size file
    By hellsaint in forum Excel General
    Replies: 5
    Last Post: 06-06-2017, 12:33 AM
  2. [SOLVED] arithmetic sequence with Rows function
    By kriminaal in forum Excel General
    Replies: 7
    Last Post: 01-25-2017, 02:34 PM
  3. VBA Function Dateadd not working with "w" weekday arithmetic?
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-14-2016, 03:30 PM
  4. How Small Function works when small(array,1),small(array,2) are same ?
    By bkvenkat in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-02-2015, 02:00 AM
  5. Replies: 4
    Last Post: 07-23-2013, 07:51 AM
  6. Small cross-worksheet calculation error
    By canadianjameson in forum Excel General
    Replies: 3
    Last Post: 07-23-2011, 10:06 PM
  7. Replies: 0
    Last Post: 03-01-2010, 05:23 PM

Tags for this Thread

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