Check the if any date from a row / table matches a period of time

vladimiratanasiu

Active Member
Joined
Dec 17, 2010
Messages
346
Office Version
  1. 2021
  2. 2019
Platform
  1. Windows
Hello!

I have a list of a project with its associated subprojects. Each activity is allocated two cells, one for the time and the second for a short description of results. I need a formula to check horizontally each row with dates, or the whole table, to see if any date ( e.g. 02/06/2022, 16/07/2022 etc.) fits the checked period (e.g. 01/06/2022-31/05/2023). If it matches that period, I wish the associated subproject to be deleted from this table and moved in another file (e.g. Sheet 2).

Thank you!

Book1
ABCDEFGHIJKL
1Date 1Date 2Activities
201/06/202231/05/202312345
3Subproject 102/06/2022…....17/09/2022…....15/12/2023…....x…....x…....
4Subproject 202/03/2022…....16/07/2022…....01/10/2022…....x…....x…....
Sheet1
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,214,911
Messages
6,122,195
Members
449,072
Latest member
DW Draft

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