I have a simple equipment inspection schedule like this:
A B C D E F G
Equipment Time(Min.) Day 1 Next day Next day Next day Next day
Chiller 10.00 2018-07-01 2018-07-05 (=C+4) 2018-07-09 2018-07-13 2018-07-17
Tank 2.00 2018-06-30 2018-07-30 (=C+30) 2018-08-29 2018-09-28 2018-10-28
Boiler 1 5.00 2018-06-29 2018-06-30 (=C+1) 2018-07-01 2018-07-02 2018-07-03
Boiler 2 5.00 2018-06-29 2018-06-30 (=C+1) 2018-07-01 2018-07-02 2018-07-03
Column C is manually entered dates. D to G are formulas e.g C+4, E+4 etc.
I have a SUMIF formula looking for totals for a certain date. The range is columns C to G, criteria is a date, sum range = column B.
=SUMIF($C$2:$G$5,A9,$B$2:$B$5)
The values return aren't quite right:
2018-06-29 2018-06-30 2018-07-01 2018-07-02 2018-07-03 2018-07-04 2018-07-05 (Criteria)
10.00 4.00 86570.00 86562.00 86564.00 86566.00 86576.00 (Sumif results)
As you can see, only the 2018-06-29 returns the correct value. The rest are way off. All the dates are serial dates.
I have attached the Excel file here.
What did I do wrong? Can someone please help?
Thanks very much!
Bookmarks