Copying date from one sheet to another based on time left

Garetht2014

New Member
Joined
Oct 21, 2014
Messages
23
Office Version
  1. 365
Platform
  1. Windows
I am trying to auto populate the sheet 'SPEQ Due' with the information from 'Sheet 1' depending on the column for 'Time left for SPEQ'. When the 'Time left for SPEQ' reaches 1 Month, 0 days I will like the 'SPEQ Due' sheet to automatically get the data and populate the fields below? Is anyone able to help me this please ?



Sheet 1
Engineer Name​
Manager Name​
Latest SPEQ Date​
Last SPEQ Date​
Next SPEQ due date​
Time left for SPEQ​
Engineer 1​
Manager 1​
21/04/202421/09/2024
0 months, 1 days​
Engineer 2​
Manager 2​
21/08/202421/01/2025
4 months, 1 days​
Engineer 3​
Manager 3​
20/05/202420/10/2024
1 months, 0 days​


SPEQ Due:
Engineer Name​
Manager Name​
Latest SPEQ Date​
Next SPEQ due date​
Time left for SPEQ​
Engineer 1​
Manager 1​
21/04/202421/09/2024
0 months, 1 days​
Engineer 2​
Manager 2​
20/05/202420/10/2024
1 months, 0 days​
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Is the Time left for SPEQ a text field? If so, did you want to find precisely those that say, "1 months, 0 days", or did you want to find any that are greater than that, so that "4 months, 1 days" is also brought over, or less than that so that it matches what you're showing in the second table?
 
Last edited:
Upvote 0
I think I see what you want. Try using the following formula in A2 of your SPEQ Due sheet (or the first cell under the header row), adjusting the Sheet1!$A$2:$F$4 to match the data range you're using for Sheet1 (the Sheet1 range without including the headers).

Excel Formula:
=LET(sheet1_range, Sheet1!$A$2:$F$4, time_left_column,CHOOSECOLS(sheet1_range,6),filtered, CHOOSECOLS(FILTER(sheet1_range, (NUMBERVALUE(LEFT(time_left_column,1))<1)+((NUMBERVALUE(LEFT(time_left_column,1))=1)*(NUMBERVALUE(MID(time_left_column,11,1))=0))), 1,2,3,5,6), filtered)
 
Upvote 0

Forum statistics

Threads
1,223,863
Messages
6,175,052
Members
452,607
Latest member
OoM_JaN

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