Trying Again... Seeking assistance with criteria based sort and filter.

Status
Not open for further replies.

xoenix

New Member
Joined
Feb 17, 2015
Messages
15
I posted prior. However, I could not get the solution I was looking for. I have a spreadsheet w/ approximately 40K lines of data. The data is formatted into 3 columns – employee name; week ending; avg. hours worked.

Is there a way for me to filter this data in such a way that it omits employees who do not have any hours or entries for the prior two weeks? BUT here's the catch. I need to keep those that do without omitting the entries entries for the other remaining weeks. Let me explain.

In the example below, such filtering would only pull Bob Smith because he has hours the week ending 7/28 and the week ending 8/4 (while still keeping the entries for 7/7, 7/14, and 7/21). However, the filtering would omit Mary Moore because she has no hours these dates. Looking for the most efficient way to sort this large amount of data given the criteria above. Any help you can provide would be greatly appreciated and will have my eternal gratitude! Please note that I cannot attach the spreadsheet here. I do not see that as an option.


Employee NameWeek EndingAvg. Hours Worked
Bob Smith07/07/198.10
Bob Smith07/14/197.50
Bob Smith07/21/195.50
Bob Smith07/28/196.25
Bob Smith08/04/198.25
Mary Moore07/07/199.00
Mary Moore07/14/198.50
Mary Moore07/21/197.75

<tbody>
</tbody>


Here's the raw data I'm working with:

https://www.mrexcel.com/forum/redir...auRyw_SXS3TTS2XiO0D1HePzRLJs/view?usp=sharing
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,214,925
Messages
6,122,298
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top