+ Reply to Thread
Results 1 to 5 of 5

Auto-populate "Yes" "No" based on multiple criteria.

  1. #1
    Registered User
    Join Date
    07-01-2014
    Location
    Kansas, America
    MS-Off Ver
    2010
    Posts
    39

    Auto-populate "Yes" "No" based on multiple criteria.

    Hello,

    I have a workbook with two worksheets.
    Sheet 2 is a change log that as the name indicates logs all the changes that occur to a JB #.
    Sheet 1 is a closed log that logs information about closed JB #'s.
    On Sheet 1 there are three columns, B, C, D which track information such as 'was an extension granted', 'was the job ever late/over-due', etc. Currently, I have to manually enter Yes or No for each which requires a lot of time to look through sheet 2 and determine if a job meets any of those criteria.

    Sheet 2 has all of this information for each job to determine this, but I'm not sure how to get excel to look for a specific JB # and then only look at the column "What Changed" for that job # to determine if it meets the criteria.

    Thanks for any and all help in this, sample workbook is attached.

    Sample Workbook.xlsx

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Auto-populate "Yes" "No" based on multiple criteria.

    In B2
    =IF(COUNTIFS(Sheet2!$A:$A,$A1,Sheet2!$C:$C,"Extension*"),"Yes","No")

    In C2
    =IF(COUNTIFS(Sheet2!$A:$A,$A1,Sheet2!$C:$C,"Late"),"Yes","No")

    In D2
    =IF(COUNTIFS(Sheet2!$A:$A,$A1,Sheet2!$C:$C,"Extension/Rejection"),"Yes","No")

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    07-01-2014
    Location
    Kansas, America
    MS-Off Ver
    2010
    Posts
    39

    Re: Auto-populate "Yes" "No" based on multiple criteria.

    Thanks for your response.
    I'm not sure if I broke it or if the formula does not work.
    I copied them into their respective columns but they seem to give a yes no output based on, I'm not sure.
    For instance, in the sample workbook. JB # 247, it was granted an extension, but this is not shown using the formulas.

    Thanks!

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Auto-populate "Yes" "No" based on multiple criteria.

    oops $A1 should be $A2 since Row 2 has you first JB#

  5. #5
    Registered User
    Join Date
    07-01-2014
    Location
    Kansas, America
    MS-Off Ver
    2010
    Posts
    39

    Re: Auto-populate "Yes" "No" based on multiple criteria.

    Awesome Thank you!

    I also realized when I copied it into my actual workbook, somehow the criteria 2 range was changed to something random.

    Thanks for your 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. Replies: 3
    Last Post: 04-16-2014, 10:00 AM
  2. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  3. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  4. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  5. [SOLVED] Find multiple "text" criteria and return as ""Yes" in Matrix
    By bertrand82 in forum Excel General
    Replies: 11
    Last Post: 04-30-2012, 09:20 AM

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