+ Reply to Thread
Results 1 to 7 of 7

pick out the lowest, avg, highest number in a range that meets criteria

  1. #1
    Registered User
    Join Date
    11-13-2013
    Location
    Trollhättan, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    22

    pick out the lowest, avg, highest number in a range that meets criteria

    Hello all

    Got a question to ask and i would like to know if its possible to do or if i should look for a diffrent solution.

    Problem:
    Got a data sheet with diffrent products and i want to scan that list find all e.g "prod1"
    among all the entries made regarding "prod1" i want to pick out the lowest, avg, highest number.

    Prod1 :3
    Prod3: 3
    Prod1:8
    Prod2:5
    Prod1:4


    Prod1 : 3 (lowest), 5(avg), 8 (highest).

    These numbers will be stored on a diffrent sheet and if possible adjust the numbers when the data series grows.

    Can it be done with any lookup/index magic?

    Any hints/insight how i should procced are welcomed

    Regards Zeroaim
    Last edited by Zer0aim; 12-03-2013 at 04:28 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,635

    Re: Lookup

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Lookup

    Assuming the source data is in Sheet1, in A2:B2 down
    Prod1 3
    Prod3 99
    Prod1 8
    Prod1 4
    etc

    In another sheet,
    Assume the Prods are listed in A2 down
    Prod1
    Prod3
    etc
    you could use these formulae, array entered (press CTRL+SHIFT+ENTER to confirm instead of ENTER), and copied down:
    =MIN(IF(Sheet1!$A$2:$A$5=A2,Sheet1!$B$2:$B$5))
    =MAX(IF(Sheet1!$A$2:$A$5=A2,Sheet1!$B$2:$B$5))
    =AVERAGE(IF(Sheet1!$A$2:$A$5=A2,Sheet1!$B$2:$B$5))
    ---------------------------------------------
    Any good? Wave it, hit the little star at the bottom left of my responses

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Lookup

    Can you amend your thread title Please.
    Thank you.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  5. #5
    Registered User
    Join Date
    11-13-2013
    Location
    Trollhättan, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Lookup

    Sorry for the swedish in the attached file.

    but to explain what i want to do.

    Under the ribbon "frollic" u find 3 buttons (only "inmatning" is working atm. adding more info to the data sheet)
    2nd button i would like to do this ->
    Look through the data and find all products with the same name.
    among them find the lowest time and add that to the "ss" sheet at the correct product name.
    same goes for the "avg" and "longest" times.
    With more entries into the data sheet is should also "update" when a new time is added. could use a "refresh" button on SS for that thou.

    Hope it clears some questions. dont want to hit u all with wall of text here

    Will this be doable? or should i look for some other way around it.

    Regards Zeroaim
    Attached Files Attached Files
    Last edited by Zer0aim; 12-03-2013 at 04:32 AM.

  6. #6
    Registered User
    Join Date
    11-13-2013
    Location
    Trollhättan, Sweden
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: pick out the lowest, avg, highest number in a range that meets criteria

    Thx for your imput Max, Singapore
    It works as id like it to.
    Sorry for late response.

  7. #7
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: pick out the lowest, avg, highest number in a range that meets criteria

    welcome, thanks for feedback

+ 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] Lookup question matching part of lookup value in the table array
    By kosmo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-05-2013, 11:07 AM
  2. Replies: 2
    Last Post: 05-19-2013, 08:46 AM
  3. Replies: 1
    Last Post: 11-07-2012, 01:57 PM
  4. Search lookup array to find lookup value contained within text string
    By Cookstein2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2011, 09:42 AM
  5. Replies: 7
    Last Post: 06-19-2011, 12:51 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