Pull Next Date if SUM is zero

Nanaia

Active Member
Joined
Jan 11, 2018
Messages
304
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I'm trying to reduce the size of the number of formulas used in a file.

I have data entry that enters multiple rows of data that make up different product lines and different shifts per day (the DATA tab). The number of formulas used to total each product line to determine the number produced per day is something I'd like to reduce (the TABLE tab). The DATA entered is only for the days worked (between one and four rows of data). The TABLE I created to summarize and calculate the daily data has every day of the year in the first column because production for these lines isn't necessarily done every day the business is open. Is there a way to SUM each days production without having to know the date in advance (I use SUMIFS)? As I mentioned, I have every day of the year listed in COL A. I would like to reduce it to be only the days there are production for the lines I'm tracking so I can remove all of the days of zero production. I'm hoping it helps reduce the file size.

A bit of background: this file is on the company's SharePoint server. I found out (the hard way) that I cannot divide the file into a DATA file and link it to a TABLE/DASHBOARD file to reduce the size of the data entry file. My hope is that reducing the number of lines containing non value calculations I can reduce the file size.
 
Since all the formulas look at the date column then provide the results for that date I was thinking to find a way to incorporate it in the TABLE date column. Like if the previous date line in the TABLE was 2/7/2020 and in the DATA tab there's no information for 2/8/2020 or 2/9/2020 but there is for 2/10/2020 then it puts 2/10/2020 in the TABLE date column. But I don't know if that's possible.
 
Upvote 0

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
It would be possible, but practical is another thing entirely. You might find that the extra complexity of the formulas involved would make it less efficient than having the extra rows with 0 value results.
 
Upvote 0
there is wrong date
GA
14/02/2020​
NIGHTB
200​
16:22:00​
02:43:00​
YYMINI
because End Time is from the next day: 15/02/2020
night of 14/02/2020 ending at 23:59:59
but maybe I am wrong ?
 
Upvote 0
there is wrong date
GA
14/02/2020​
NIGHTB
200​
16:22:00​
02:43:00​
YYMINI
because End Time is from the next day: 15/02/2020
night of 14/02/2020 ending at 23:59:59
but maybe I am wrong ?
The formula used to catch that is [=IF(G3<F3,G3+1,G3)-F3]. Start Time is Col F, End Time is Col G.
 
Upvote 0
I did something like that but in the meantime I got lost
S_DateSITEMDCDABDurationABCDMINICOMM
14/02/2020AZ600.03:45:00001010
14/02/2020GA2000.10:21:00010010
15/02/2020GA850.05:50:00100010
18/02/2020GA211370.16:22:00010111
18/02/2020KY1170.10:00:00100010
18/02/2020TX390421.05:55:00101011
19/02/2020GA580.09:16:00000101
19/02/2020TX23510.10:57:00101011
20/02/2020AZ164160.11:58:00011011
24/02/2020GA5521.01:08:00110010
 
Upvote 0

Forum statistics

Threads
1,214,858
Messages
6,121,956
Members
449,057
Latest member
FreeCricketId

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