Extracting Certain Rows Non-Filtering

Markis

New Member
Joined
Jul 29, 2010
Messages
7
I have been trying to conjure up a way to extract certain lines of information from day to day logs of employee time sheets. Let me show you what I have:



What I would like to do, is enter the job # in I2, so that it populates H5:J5 and downwards with any results it finds with the job # in question. I do not want them so sum up, I regret not placing this in the example now, but lets say Andre had worked the same job on Day 2 within Task #1, it would create another line for it rather then add itself onto the Day 1 Task #1 time. I would like for it to search through all applicable days if possible; however, at this point even a single day would help me out thoroughly.

If more information is required I will reply swiftly. If not thanks for the help in advance!
 

Some videos you may like

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

taigovinda

Well-known Member
Joined
Mar 28, 2007
Messages
2,639
Welcome to the board!

Give this a try, making sure to format your green results cells as custom->

h:mm;"";""

...and note that after typing in the formula (or pasting in the formula), you need to press control+shift+enter, not just enter. Copy the formula down and across.
Excel Workbook
BCDEFGHIJ
1---------
2Day 1Job #EmployeeTask #1Task #2-Job #10331-
3-10331Andre1:00-----
4-10441Jeff-2:00-EmployeeTask#1Task#2
5-10558Lonnie4:00--Andre1:00
6------Wayne2:00
7Day 2Job #EmployeeTask #1Task #2-Andre3:00
8-10332Rejean1:00--#NUM!#NUM!#NUM!
9-10331Wayne-2:00-#NUM!#NUM!#NUM!
10-10331Andre3:00--#NUM!#NUM!#NUM!
11------#NUM!#NUM!#NUM!
12------#NUM!#NUM!#NUM!
13------#NUM!#NUM!#NUM!
14------#NUM!#NUM!#NUM!
15------#NUM!#NUM!#NUM!
Sheet1
#VALUE!
Entered with Ctrl+Shift+Enter
 

Markis

New Member
Joined
Jul 29, 2010
Messages
7
I apologize for the delayed response, but I would like to thank you very much! This worked perfectly and should solve any issue I was having. Once again thanks, and the very best to you!
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,820
Messages
5,513,586
Members
408,960
Latest member
dichthuatco

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top