+ Reply to Thread
Results 1 to 11 of 11

Search/display a specific date from a seperate worksheet

  1. #1
    Registered User
    Join Date
    05-23-2017
    Location
    North Carolina
    MS-Off Ver
    2010
    Posts
    25

    Search/display a specific date from a seperate worksheet

    I have the formula below working(Thanks to J. Topley for all his help),
    =IF(COUNTIFS(ATMS!B:B,$G27,ATMS!H:H,"G557",ATMS!J:J,"C",ATMS!L:L,"="&"<60"),"<60",IF(COUNTIFS(ATMS!B:B,G27,ATMS!H:H,"G557",ATMS!J:J,"C"),"C",""))

    What I would like to do, in a separate area of worksheet 1(Quals tab, highlighted in Yellow) is list the upcoming training, displayed on worksheet 2 for our employees. I would like to list the info contained in columns M(event start date/time) and N(bldg and classroom location). I have provided an uppdated sample.
    Thanks.
    Attached Files Attached Files
    Last edited by dave57; 05-31-2017 at 09:00 AM.

  2. #2
    Registered User
    Join Date
    05-23-2017
    Location
    North Carolina
    MS-Off Ver
    2010
    Posts
    25

    Re: Search/display a specific date from a seperate worksheet

    Here is the updated sample
    Attached Files Attached Files

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Search/display a specific date from a seperate worksheet

    In the example shown, You would show training due for two people because there are event start dates for them. Is this correct? Also how do you plan to clear the date when the course is completed?
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Search/display a specific date from a seperate worksheet

    I opted to go for a VBA solution for this since there is possibility that a person may be scheduled for more than one class which means looping through the data. The function is called GetTraining(Name). Where name is the cell that contains the person's name.

    I suggest that you set up a list of employee names in a table and use this list for data validation both on the Quals Sheet and the ATMS sheet to make sure you spell the names the same way on both sheets.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-23-2017
    Location
    North Carolina
    MS-Off Ver
    2010
    Posts
    25

    Re: Search/display a specific date from a seperate worksheet

    Yes. In the example, I only provided those two instances. In my workbook on the Quals tab I list 73 employees. And on the ATMS tab, all the qualifications for all 73. The rows number approx. 8500. With training scheduled as shown in the example for approximately 60 people. That will vary from week to week. Once they get the training, the class schedule will "disappear" from the ATMS tab and it would no longer report that the training is needed.

  6. #6
    Registered User
    Join Date
    05-23-2017
    Location
    North Carolina
    MS-Off Ver
    2010
    Posts
    25

    Re: Search/display a specific date from a seperate worksheet

    Thanks for taking the time to reply, dflak! I will work with your training sample.

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Search/display a specific date from a seperate worksheet

    I made use of an Excel table on the ATMS tab. Clear out that data and copy your real data in there. I do have a "standard" module to clear out a table and I can connect it to a button on the schedule sheet. Would you like this?

  8. #8
    Registered User
    Join Date
    05-23-2017
    Location
    North Carolina
    MS-Off Ver
    2010
    Posts
    25

    Re: Search/display a specific date from a seperate worksheet

    I have a list of names on the Quals tab that changes due to personnel being assigned/reassigned. The list on the ATMS tab has multiple rows of the same name and is constantly changing due to personnel gaining/losing qualifications. So, I don't have a table that remains the same from week to week.

  9. #9
    Registered User
    Join Date
    05-23-2017
    Location
    North Carolina
    MS-Off Ver
    2010
    Posts
    25

    Re: Search/display a specific date from a seperate worksheet

    So, I tried this one, but it returns FALSE statement.
    =IF(COUNTIFS(ATMS!B:B,$G70,ATMS!H:H,"G450RF",ATMS!M:M,"MM/DD/YYYY HH:MM/SS"),IF(COUNTIFS(ATMS!B:B,$G70,ATMS!H:H,"G450RF",ATMS!M:M,"MM/DD/YYYY HH:MM:SS"),"MM/DD/YYYY HH:MM:SS","NONE"))

  10. #10
    Registered User
    Join Date
    05-23-2017
    Location
    North Carolina
    MS-Off Ver
    2010
    Posts
    25

    Re: Search/display a specific date from a seperate worksheet

    When I change it to IF(AND(, I get a #VALUE! result.....
    =IF(AND(ATMS!B:B,$G70,ATMS!H:H,"G450RF",ATMS!M:M,"MM/DD/YYYY, HH:MM:SS"), IF(COUNTIFS(ATMS!B:B,$G70,ATMS!H:H,"G450RF",ATMS!M:M,"MM/DD/YYYY, HH:MM:SS"),"MM/DD/YYYY HH:MM:SS","NONE"))
    I am trying to get Excel to return the Training #, Date, Time of the assigned training.
    Last edited by dave57; 06-01-2017 at 07:00 AM.

  11. #11
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Search/display a specific date from a seperate worksheet

    firstly remove merged columns from "O" to "U".
    Add criteria in "O26" as Enroll
    in O28 formula [Array formula hence : shift+ctrl+enter]
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

+ 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: 1
    Last Post: 06-28-2014, 08:08 AM
  2. Search for specific date range, copy entire row and paste to new worksheet
    By turias in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-04-2013, 03:57 PM
  3. Replies: 4
    Last Post: 03-21-2013, 10:02 AM
  4. Macro to overwrite a specific row in a seperate worksheet
    By Tradesman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-17-2013, 05:34 AM
  5. How to search multiple worksheets and put results in a seperate worksheet.
    By bmsjeff in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2010, 09:45 PM
  6. Macro to pull specific data out and place in a seperate worksheet
    By dandavis1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-21-2008, 04:02 AM
  7. Calling a specific worksheet from a hyperlink in a seperate file.
    By TheChris in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-01-2006, 09:48 PM

Tags for this Thread

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