Date: prev next · Thread: first prev next last
2021 Archives by date, by thread · List index

On 2021-12-15 14:11, Hylton Conacher (ZR1HPC) wrote:
I am quickly losing patience with a task that requires a sum of values that occur on the same date, 
but at different times.

My raw data sheet is in 4 columns [spaced for comprehension]
 Date/Time [stamp] | Value 1| Value Y| Value z
2021-10-08 08:00:00|    5   |    7   |   0.15
2021-10-08 14:05:16|    3   |   10   |   5
2021-10-09 10:05:30|   15   |    3   |  25
2021-10-09 18:00:00|   15   |    9   |   6

I have a secondary sheet with just the date i.e. 2010-10-08, acquired with formula 
`=LEFT($Data.A4,10)'. Column B of this sheet needs to be the SUM of all the numbers in the 3rd 
column, BUT only for the date in column A i.e.

2010-10-08| 17
2010-10-09| 12

Just trying to understand your question properly, so for clarification:
 (1a) Your two sheets differ in column A, in that the first has a date/time stamp, the second date 
only (extracted from the first)?
 (1b) Does each row of the second sheet reflect the date of the corresponding row in the first 
sheet (in other words, dates are repeated on the second sheet, as suggested by your formula 
($Data.A4, $Data.A5, $Data.A6, ...), or is each date on the second sheet listed just once?
 (2) We don't need to worry about columns B or D of the first sheet, just column C? [Any 
significance to columns B-C-D being indexed in three different formats 

I have tried many Google searches and seen many videos on how this is supposed to work yet for some 
reason, being race, colour, creed, or stupidity, I cannot get the result I seek. It would seem that 
the summation of data with the same date, but different time component in the main data sheet is 
causing an issue.

 (3a) Did you try confirming that conjecture using a test example with just the date, not a 
date/time stamp?
 (3b) How is that date/time field acquired? Could it be acquired/input as two separate fields, date 
and time?

I'd really appreciate some pointers here, even if not possible. If not possible what could be done. 
I just don't understand the INDEX(MATCH())/vlookup  argument.

 (4) [This is related to questions 1 and 3] Given that you acquire the date for your second sheet's 
column A as a text field, is there a possible data type mismatch?

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.