Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-30-2023, 12:08 AM
Agnieszka Agnieszka is offline How to find overlapping dates Mac OS X How to find overlapping dates Office 2016 for Mac
Novice
How to find overlapping dates
 
Join Date: Apr 2023
Posts: 15
Agnieszka is on a distinguished road
Default How to find overlapping dates


Hi Everyone,
Is there a function that will allow me to track overlapping leave requests?
I have attached sample spreadsheet.
My Excel doesn't have FILTER function.
Thank you
Agnieszka
Attached Files
File Type: xlsx Overlapping dates request.xlsx (10.2 KB, 4 views)
Reply With Quote
  #2  
Old 07-30-2023, 06:33 AM
p45cal's Avatar
p45cal p45cal is offline How to find overlapping dates Windows 10 How to find overlapping dates Office 2021
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Quote:
Originally Posted by Agnieszka View Post
Is there a function that will allow me to track overlapping leave requests?
1. Overlapping ignoring all names and leave types, that is any overlapping dates in the whole table? Or maybe just by Name? Or both Name and leave type?
2. When you say 'track', how do you want to see/report this tracking?
Quote:
Originally Posted by Agnieszka View Post
My Excel doesn't have FILTER function.
What version of Excel are you using?
Reply With Quote
  #3  
Old 07-30-2023, 07:26 AM
p45cal's Avatar
p45cal p45cal is offline How to find overlapping dates Windows 10 How to find overlapping dates Office 2021
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

I can do something like this
2023-07-30_152458.jpg
Reply With Quote
  #4  
Old 07-30-2023, 03:56 PM
Agnieszka Agnieszka is offline How to find overlapping dates Mac OS X How to find overlapping dates Office 2016 for Mac
Novice
How to find overlapping dates
 
Join Date: Apr 2023
Posts: 15
Agnieszka is on a distinguished road
Default

Hi p45cal,
I have Excel 2016.
I need to find out who applied for overlapping leave so will need to search by names.
What I was hoping for was the function that I could write in column E that would return either "overlap" or "do not overlap" (or "false", "true"...). The return would be for the same person mentioned again somewhere down the lines. Then I could filter the table based on column E and A (Name).
I'm not sure what you did in the table you posted but, I may have few hundreds lines on each report and won't be able to manually search through them.
Reply With Quote
  #5  
Old 07-30-2023, 07:03 PM
p45cal's Avatar
p45cal p45cal is offline How to find overlapping dates Windows 10 How to find overlapping dates Office 2021
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

With Excel 2016 you have Power Query (aka Get & Transform Data) built in. All you'll need to do is to update the table on the left with your few hundred rows of data, then right-click somewhere in the table on the right and choose Refresh.

As to a formula for column E, quite difficult, but maybe possible with a slightly different Power Query query. I'll have a think on it.
Attached Files
File Type: xlsx msofficeforums51161Overlapping dates request.xlsx (20.9 KB, 5 views)
Reply With Quote
  #6  
Old 07-30-2023, 07:23 PM
p45cal's Avatar
p45cal p45cal is offline How to find overlapping dates Windows 10 How to find overlapping dates Office 2021
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Quote:
Originally Posted by p45cal View Post
I'll have a think on it.
See attached. Same as before regarding refreshing to update the second table. Rudimentary formula in column E.

Note, in your file, in row 7 you had TIm with a capital I; my queries are case sensitive so I changed the I to an i. Instead, I can make the query case insensitive if you wish.
Attached Files
File Type: xlsx msofficeforums51161Overlapping dates request_v2.xlsx (19.8 KB, 6 views)
Reply With Quote
  #7  
Old 07-30-2023, 07:48 PM
Agnieszka Agnieszka is offline How to find overlapping dates Mac OS X How to find overlapping dates Office 2016 for Mac
Novice
How to find overlapping dates
 
Join Date: Apr 2023
Posts: 15
Agnieszka is on a distinguished road
Default

Thanks, this looks great. I'll see If I can make it work on my spreadsheet
Reply With Quote
  #8  
Old 07-30-2023, 11:13 PM
ArviLaanemets ArviLaanemets is offline How to find overlapping dates Windows 8 How to find overlapping dates Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Here is as I would do this (Except I'd use Defined Tables, and I'd add a table where all employees are listed, to allow the formulas to expand automatically whenever a new employee is added, or leaves for next year are added)

The sheet LeaveCal may contain dates for any reasonable number of future years, sou you don't have to edit it at every new year, and unless you want to see it for some reason, you can then hide this sheet, so users don't mess with it.
Attached Files
File Type: xlsx Overlapping dates request.xlsx (36.4 KB, 12 views)
Reply With Quote
  #9  
Old 08-05-2023, 09:02 PM
Agnieszka Agnieszka is offline How to find overlapping dates Mac OS X How to find overlapping dates Office 2016 for Mac
Novice
How to find overlapping dates
 
Join Date: Apr 2023
Posts: 15
Agnieszka is on a distinguished road
Default

Hi ArviLaanemets,
Thank you for your help. This is exactly(!!!) what I was looking for
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find overlapping dates Range method Find can't find dates jmcsa3 Excel Programming 1 05-02-2020 06:56 AM
How do you use the find and replace tool to find dates and times in Excel 2013? Jules90 Excel 3 04-14-2020 07:40 PM
How to find overlapping dates Pictures overlapping eachother on the same slide kaiks PowerPoint 1 11-03-2015 08:50 PM
How to find overlapping dates Find and Replace: Dates Attirb Word 2 04-13-2011 09:56 AM
How to find overlapping dates Lots of overlapping appointments! MushyPeas Outlook 2 01-21-2009 10:01 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft