+ Reply to Thread
Results 1 to 4 of 4

How to sort out only rows with values based on certain criteras

  1. #1
    Forum Contributor
    Join Date
    03-14-2005
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    329

    How to sort out only rows with values based on certain criteras

    Hello

    We are working on a measurment tool in our production where the operator need to write the values he/she measured after production.
    We are not measuring all pcs but on a frequency based on 8 parts and multiples of this.
    Everytime the operator have produced they add 8 new produced with one click. But sometimes the excel tells the operator he/she needs to do a measurment and write the result to the excel.
    I have a lot of inputs now that I want to make a chart to see how the values varies. Unfortunately many rows does not have values and a chart would look very strange.
    I'd like to use a filter function that only results in the rows where values are added and the user should be able to make inputs like date, part number etc to look for the correct part number only.

    In the attached excel I have the data and also describes how the result should look like.
    Does anyone here knows how I can manage this with a function in any way?
    When I have a working result I can easily make the chart work.


    /Anders
    Attached Files Attached Files
    Last edited by a94andwi; 03-26-2024 at 08:57 AM.

  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,853

    Re: How to sort out only rows with values based on certain criteras

    This seems to do what you want:

    =LET(a,A2:B153,b,FILTER(J2:N153,J1:N1=T9),h,HSTACK(a,b),FILTER(h,(A2:A153>=T7)*(A2:A153<=T8)*(F2:F153=T6)*(b<>"")))
    Attached Files Attached Files
    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
    Forum Contributor
    Join Date
    03-14-2005
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    329

    Re: How to sort out only rows with values based on certain criteras

    Big Thank you!!!! This is exactly what I needed!!!

  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,853

    Re: How to sort out only rows with values based on certain criteras

    You're 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] Pull Tracking# based on two or three criteras
    By excellerate_mmsa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-22-2018, 02:51 PM
  2. How to lookup and sort rows based on the values in cells
    By sudharshan86 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-26-2014, 09:12 AM
  3. [SOLVED] Sort and delete rows based on the values in a cell?
    By thup_98 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-22-2013, 09:45 AM
  4. [SOLVED] Adding up values based on compliacted criteras
    By Eemmai in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-01-2012, 06:22 AM
  5. [SOLVED] Group/sort rows based on values in multiple columns?
    By teitoku in forum Excel General
    Replies: 5
    Last Post: 08-07-2012, 02:20 PM
  6. copy multiple rows and sort based on cell values
    By stevenwhite1968 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-18-2011, 03:12 AM
  7. Replies: 1
    Last Post: 01-24-2010, 04:35 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