+ Reply to Thread
Results 1 to 3 of 3

COUNTIFS, VLOOKUP, using a data validated list option for specific cell at a specific time

  1. #1
    Registered User
    Join Date
    04-09-2019
    Location
    Kentucky
    MS-Off Ver
    2016
    Posts
    2

    COUNTIFS, VLOOKUP, using a data validated list option for specific cell at a specific time

    I was trying to figure out a formula for the green section of the K column. Those 4 cells(K11:K14) are supposed to calculate the number of EE(the number of associate listed down in either C/D column). But I wanted to calculate and track the time frame for the E column as it varies depending on each name from each department(D Column).

    For example, if I were to list 3 names for Multis department and the Time of EE is listed as 8:00, 8:15 and 10:00.Then if I input "Time from(I13)" to 8:00 and "Time To(J13)" to 12:00 the K13 cell should be able to give me 3 vs if I were to place 9:30 in the Time To(J13) cell, than the value should be 2.

    I have tried different formulas and I have no clue where I keep messing up, when I placed the COUNTIFS function as =COUNTIFS(E4:E99,">="&I11,E4:E99,"<="&J11), it gives me the total number of EE on that time frame, I have also used =COUNTIF(D4:D99, VLOOKUP("Pick",D4:D99,1,FALSE)) to find the name picks and I tried combining them to search Time of EE for only the pick department, but it keeps saying my formula is wrong, could it be due to using those departments names and time off EE from a data validation chart from a different sheet?

    So I was wondering how I could separate them according to their department, thank you. (I have attached the excel sheet to give a better understanding of the problem, I would greatly appreciate it if anyone could please help me out with this.)
    Attached Files Attached Files
    Last edited by AliGW; 04-09-2019 at 04:43 PM. Reason: Paragraphs added for legibility

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: COUNTIFS, VLOOKUP, using a data validated list option for specific cell at a specific

    Perhaps the below works for you -- i.e. add the Department to the COUNTIFS criteria, and leverage the Table

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-09-2019
    Location
    Kentucky
    MS-Off Ver
    2016
    Posts
    2

    Re: COUNTIFS, VLOOKUP, using a data validated list option for specific cell at a specific

    Thank you so much, it worked, I appreciate 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. [SOLVED] Vlookup to return specific value if cell value of vlookup is specific
    By shaz0503 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-24-2015, 10:36 PM
  2. Creating an automatic move to another sheet when a specific option is chosen from list
    By morgangallo in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-15-2013, 08:36 AM
  3. Replies: 2
    Last Post: 08-02-2013, 08:04 AM
  4. Replies: 0
    Last Post: 07-11-2013, 02:08 AM
  5. Writing option button data to specific cell in a table
    By teacher_rob in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-11-2011, 03:08 PM
  6. VLOOKUP specific data for month required via dropdown list
    By Toni Bennett in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-07-2006, 11:35 AM
  7. Selecting a specific cell (that is data validated)
    By cliodne in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-23-2006, 02:55 AM

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