+ Reply to Thread
Results 1 to 6 of 6

Return a Yes or No on growing list depending on specific parameters.

  1. #1
    Registered User
    Join Date
    05-26-2015
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    29

    Return a Yes or No on growing list depending on specific parameters.

    Hello!

    I have a growing list with dates and serial numbers. I need a column to automatically return a yes or a no if the same serial number has shown up on the list within the last 30 business days from the previous call.

    I know I'll probably need a Match and an IF statement, but I am unsure where to go from there as this list will continue to grow through the month.

    Example is attached.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,824

    Re: Return a Yes or No on growing list depending on specific parameters.

    Try this in C2:

    =IF(COUNTIFS(A$1:A2,"<="&A2,A$1:A2,">="&A2-30,B$1:B2,B2)>1,"yes","no")

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,797

    Re: Return a Yes or No on growing list depending on specific parameters.

    this may help
    =COUNTIFS($A$2:A2,">="&A2-30,$B$2:B2,B2)
    which will do a count and count 1 for itself and then if repeated count 2,3,4 etc

    in an IF
    =IF( COUNTIFS($A$2:A2,">="&A2-30,$B$2:B2,B2)>1 , "Yes", "No")

    this is checking the date to see if the previous cells have a date between the cell and 30 days before and the same serial number
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,797

    Re: Return a Yes or No on growing list depending on specific parameters.

    website crashed while posting
    Last edited by etaf; 01-23-2017 at 12:45 PM.

  5. #5
    Registered User
    Join Date
    05-26-2015
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    29

    Re: Return a Yes or No on growing list depending on specific parameters.

    That did the trick! Thanks!

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,824

    Re: Return a Yes or No on growing list depending on specific parameters.

    You're welcome - thanks for the rep.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

+ 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. Replies: 4
    Last Post: 02-09-2016, 03:27 PM
  2. Return if an item is late based on start and end times and specific parameters
    By d2thep in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 04-10-2014, 10:25 AM
  3. Update specific sheet based on drop-down list parameters
    By onmyway in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2013, 07:42 AM
  4. Return Data depending on dropdown list
    By GenericPat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2012, 04:21 PM
  5. [SOLVED] Return a specific column of data depending on the content of a cell
    By Herr Rommel in forum Excel General
    Replies: 2
    Last Post: 05-07-2012, 02:21 PM
  6. Return specific numbers from a chart depending on drop down box selection
    By JasonTV in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-12-2011, 08:22 AM
  7. Return a value within specific parameters
    By ezdizzy in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 10-08-2009, 06:39 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