+ Reply to Thread
Results 1 to 9 of 9

Help with formula for filtering or conditional formatting

  1. #1
    Registered User
    Join Date
    03-14-2018
    Location
    MAnchester, England
    MS-Off Ver
    2016
    Posts
    5

    Help with formula for filtering or conditional formatting

    Hi Guys,

    I've done some searching but I can't work out how to filter a list the way I would like.

    1111/1
    1111/1
    1111/1
    1111/2
    1111/2
    1112/1
    1113/1
    1113/2
    1113/3

    If I have a list like the above example, I'd like to be able to filter to only show the newest version of each number.

    So in the above example, I would be left with:

    1111/2
    1111/2
    1112/1
    1113/3

    The reason there are multiple of some lines is that these are quote numbers and they have multiple parts in them, each part has its own line.
    However, if we amend the quote then it gets a new version number i.e. 1111/1 changes to 1111/2.

    I need to find the value of jobs quotes in a given month and I don't want to include obsolete quotes in the value.

    Can anyone help?
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Help with formula for filtering or conditional formatting

    not clear
    a given month
    are there any dates?

  3. #3
    Registered User
    Join Date
    03-14-2018
    Location
    MAnchester, England
    MS-Off Ver
    2016
    Posts
    5

    Re: Help with formula for filtering or conditional formatting

    Yes, there is some date a few columns over in the real data.

  4. #4
    Registered User
    Join Date
    03-14-2018
    Location
    MAnchester, England
    MS-Off Ver
    2016
    Posts
    5

    Re: Help with formula for filtering or conditional formatting

    Although the date does'nt always change between versions

  5. #5
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Help with formula for filtering or conditional formatting

    OK, how does one can identify a new entry?

  6. #6
    Registered User
    Join Date
    03-14-2018
    Location
    MAnchester, England
    MS-Off Ver
    2016
    Posts
    5

    Re: Help with formula for filtering or conditional formatting

    new entries are added to the spreadsheet straight from our MRP system.
    so there is usually another quote number between versions, like this:

    1111/1 01/01/2018
    1111/1 01/01/2018
    1112/1 01/01/2018
    1111/2 02/01/2018
    1111/2 02/01/2018

    I hope I'm being clear enough, I'm sorry if not.

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Help with formula for filtering or conditional formatting

    Hello mikey1984 and Welcome to Excel Forum.
    This proposed solution accomplishes filtering by means of a process.
    Step one: parse the number and version using (respectively):
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Step two: rank the versions within each number using*:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Step three: retrieve only the most recent version of each number using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    *Denotes an array entered formula which is confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  8. #8
    Registered User
    Join Date
    03-14-2018
    Location
    MAnchester, England
    MS-Off Ver
    2016
    Posts
    5

    Re: Help with formula for filtering or conditional formatting

    That is exactly what I needed, Thanks a lot.

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Help with formula for filtering or conditional formatting

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Advanced Filtering and conditional Formatting
    By elisebev in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2016, 10:22 AM
  2. Conditional Formatting and Filtering
    By eoghanmolloy in forum Excel General
    Replies: 1
    Last Post: 05-07-2014, 04:34 AM
  3. Help with Filtering Conditional Formatting
    By amandak in forum Excel General
    Replies: 5
    Last Post: 01-24-2014, 12:41 PM
  4. Conditional Formatting After Filtering?
    By EzRouter in forum Excel General
    Replies: 0
    Last Post: 04-17-2012, 10:43 AM
  5. Filtering by Results of Conditional Formatting
    By excelCPA in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-25-2006, 04:23 PM
  6. conditional formatting when filtering
    By be_insane in forum Excel General
    Replies: 10
    Last Post: 11-02-2005, 06:17 PM
  7. Filtering out text with conditional formatting
    By bluebean in forum Excel General
    Replies: 4
    Last Post: 08-05-2005, 12:05 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