workday(TODAY(),0,0) and IF statement issues

Enzo_Matrix

Board Regular
Joined
Jan 9, 2018
Messages
113
I am tracking our shipping departments shipments and have a basic table with 5 columns of data and am trying to automate the data collection from the report generated by our system.

DateTotal OrdersTotal Late% Late% On-time
1-Jan-20199111.11%88.89%
2-Jan-20191100.00%100.00%

<tbody>
</tbody>

I have a cell that changes dates from day to day and the idea is that it will automatically import the information into column 2 and 3 based on yesterdays date.
Code:
Cell that changes dates    =WORKDAY(TODAY(),-1,1)

Total Orders calculation from raw data   =IF('Table Date'=Cell with changing date,Total Orders,"")
Total Late calculation from raw data     =IF('Table Date'=Cell with changing date,Total Late,"")
In each cell of column 2 and 3 I have a code the references the date cell and the cells in my data sheet(see IF statements above). My issue is that as the date changes, the cells from my table clear themselves and i'm not sure which code would work better.

Any suggestions would be great! Also, VBA is an option
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,215,064
Messages
6,122,942
Members
449,094
Latest member
teemeren

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