+ Reply to Thread
Results 1 to 7 of 7

Using the Small function to update corresponding values

  1. #1
    Registered User
    Join Date
    12-13-2010
    Location
    melbourne australia
    MS-Off Ver
    Excel 2016
    Posts
    58

    Using the Small function to update corresponding values

    Hello,

    You guys provided me with the answer to the attached problem i had last time.

    I was wondering if you could help if I added another dimension to this spreadsheet.

    So the intial problem i had was to find the first smallest and second smallest values and paste corresponding in table below.... This has been solved.

    What i now have is a Value that needs to be checked before we add the secondsmallest , 3rd smallest....

    I have explained it in the attached spreadsheet. Its a complex one...

    Please take a look at the spreadsheet and let me know if you need any further information.

    Cheers
    Viren
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Using the Small function to update corresponding values

    Please try at B44 drag across and down

    =IFERROR(INDEX($A:$A,MOD(AGGREGATE(15,6,B$2:B$26*100+ROW(B$2:B$26)/(B$2:B$26<MIN(B$2:B$26)+$L$3)/(B$2:B$26>0),ROWS(B$44:B44)),100)),"")
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-13-2010
    Location
    melbourne australia
    MS-Off Ver
    Excel 2016
    Posts
    58

    Re: Using the Small function to update corresponding values

    Excellent!!! Thank You B0_Ry.

    Can you please explain how the formula works?

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Using the Small function to update corresponding values

    A. B$2:B$26*100+ROW(B$2:B$26) Value multiply by 100 and row number, divide by

    B. /(b$2:b$26<min(b$2:b$26)+$l$3)/(b$2:b$26>0) for check value and it less than Minimum + L3 and more than zero

    A/B = A/True = A and A/False = Div/0

    C. Aggregate(15 for small, 6 ignore error Div/0, value array, k) give small value of rank k( 1,2, …) eg 1331305 ,1331306
    gren part is row number

    D. Mod(C, 100) gives row number and

    Index($A:$A,D) gives the final result

  5. #5
    Registered User
    Join Date
    12-13-2010
    Location
    melbourne australia
    MS-Off Ver
    Excel 2016
    Posts
    58

    Re: Using the Small function to update corresponding values

    Thank you.

    Really appreciate it.

  6. #6
    Registered User
    Join Date
    12-13-2010
    Location
    melbourne australia
    MS-Off Ver
    Excel 2016
    Posts
    58

    Re: Using the Small function to update corresponding values

    One last thing thing Bo_Ry,

    In row 80 and below can you please create a formula to list all parts that were not listed in the rows 44 -73?

    Thanks

    Viren

  7. #7
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Using the Small function to update corresponding values

    Please try at B80

    =IFERROR(INDEX($A:$A,MOD(AGGREGATE(15,6,B$2:B$26*100+ROW(B$2:B$26)/(B$2:B$26>=MIN(B$2:B$26)+$L$3),ROWS(B$80:B80)),100)),"")

+ 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] Using the small function to update corresponding values
    By virencm in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-01-2019, 10:12 PM
  2. 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
  3. [SOLVED] Auto update in a graph which reads from a column which includes a small function
    By spiros63 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-08-2012, 07:25 AM
  4. small or min function excluding values in an array
    By kifoka in forum Excel General
    Replies: 2
    Last Post: 08-26-2009, 05:44 PM
  5. Use criteria for values in range for small function
    By like2hike in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2006, 12:15 PM
  6. Replies: 7
    Last Post: 12-31-2005, 08:20 AM
  7. What function to select the last 3 small values from a list ?
    By Eric in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-31-2005, 07:20 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