+ Reply to Thread
Results 1 to 8 of 8

Generate List From a List To Smallest Number to Largest Number

  1. #1
    Registered User
    Join Date
    05-14-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    6

    Post Generate List From a List To Smallest Number to Largest Number

    I have uploaded an Excel spreadsheet to help support this query.

    I have a list of products (cell A - F)

    Cell N1 has the number of availability

    Cell P - U, I would like a formula to find the smallest to largest number from Column F then generate the total over to Cell P - U but only totalling the amount from Cell N1

    I hope this makes sense, any help is appreciated.
    Attached Files Attached Files
    Last edited by AliGW; 09-24-2022 at 09:56 AM. Reason: Irrelevant section of title removed.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Generate List From a List To Smallest Number to Largest Number

    Please add your expected results to the workbook manually to show what you are looking for.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-14-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    6

    Re: Generate List From a List To Smallest Number to Largest Number

    Hi

    I have added in manually with a comment what I am after. I hope that helps. Let me know if there is anything else I can do to help.
    Attached Files Attached Files
    Last edited by DanRichardson; 09-24-2022 at 10:08 AM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Generate List From a List To Smallest Number to Largest Number

    Can I just check that you are using Excel 2019 and not MS365?

  5. #5
    Registered User
    Join Date
    05-14-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    6

    Re: Generate List From a List To Smallest Number to Largest Number

    I am using Microsoft 365.

    I saved the spreadsheet to the computer, then uploaded it onto this site.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Generate List From a List To Smallest Number to Largest Number

    Just in case you have MS365, here's a dynamic array function that will spill:

    =LET(i,SORTBY(A2:F11,F2:F11,1),FILTER(i,SCAN(0,INDEX(i,,6),LAMBDA(x,y,x+y))<=N1))

    Please update your forum profile, which says 2019.
    Attached Files Attached Files
    Last edited by AliGW; 09-24-2022 at 11:07 AM. Reason: Added example workbook.

  7. #7
    Registered User
    Join Date
    05-14-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    6

    Re: Generate List From a List To Smallest Number to Largest Number

    Works well, thank you so much, is it possible for it to calculate more than 9 cells down?

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Generate List From a List To Smallest Number to Largest Number

    Yes - just extend the ranges to suit your data, e.g.

    =LET(i,SORTBY(A2:F110,F2:F110,1),FILTER(i,SCAN(0,INDEX(i,,6),LAMBDA(x,y,x+y))<=N1))

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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] Sorting the list from largest to smallest
    By choletseng in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-25-2022, 09:02 AM
  2. [SOLVED] How do i find smallest and largest number that start with specific number?
    By Ariful Islam in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-29-2021, 09:17 PM
  3. [SOLVED] Position on list of nth smallest number
    By Ian McPherson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-23-2021, 05:57 AM
  4. [SOLVED] Coloring to largest and smallest number except zero
    By royalshah4all in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-02-2016, 03:19 AM
  5. Formula to populate cells based on largest number to smallest
    By kenadams378 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2015, 07:12 AM
  6. Excel 2007 : sort smallest number to largest
    By ravihotwok in forum Excel General
    Replies: 1
    Last Post: 12-06-2011, 11:35 AM
  7. Smallest Number in a List/Bigger than X
    By j2kp0t in forum Excel General
    Replies: 17
    Last Post: 04-03-2007, 09:40 AM

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