Find date +3 and then copy cell into different sheet

pete4monc

Board Regular
Joined
Jan 12, 2014
Messages
85
Office Version
  1. 365
Platform
  1. Windows
I have a workbook with multiple tabs (12). All tabs have exactly the same layout.
At the moment I have a simple formula which counts the amount of days from column H5 (date started) and if there is no date entered in column I5 (finished date) it gives me the amount of days the order has not moved in column L5.
=IF(I5="",NETWORKDAYS(H5, TODAY(),'Holiday List'!$B$2:$B$23),"")
I then manually copy cell B5 contents to Sheet1 if the days have exceeded 3.

Basically I am looking through each row (column I5) on each tab for any job that is not completed within 3 days and coping the order number (column B) into sheet1 to email.

Is there a VBA code that could do this for me automatically looking down through each tab?

Many thanks
 

Attachments

  • Capture1.PNG
    Capture1.PNG
    21.1 KB · Views: 6
  • Capture2.PNG
    Capture2.PNG
    3.1 KB · Views: 6

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,214,827
Messages
6,121,823
Members
449,049
Latest member
cybersurfer5000

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