On 2021/12/15 23:29, John Kaufmann wrote:
> 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)?
Correct
> (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?
No, the second sheet merely has a single entry per date. I basically
used LEFT(1st sheet date/time column, 10) then manually typed the
following date in the cell below, clicked on bottom right of cell and
dragged down to current date.
> (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 (Numeric-UPPERCASE-lowercase)?]
Yes, do worry about columns B, D. I would like to do something similar
to C, but figured I might try and bastardise the formula for C, for B +D.
<snip>
> (3a) Did you try confirming that conjecture using a test example
with just the date, not a date/time stamp?
Yes
> (3b) How is that date/time field acquired? Could it be
acquired/input as two separate fields, date and time?
It is a combined field downloaded in a .csv file.
<snip>
> (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?
The date column in both sheets is formatted as a date column
Sheet 1: yyyy-mm-dd hh:mm:ss
Sheet 2: yyyy-mm-dd
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
- [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP? · Hylton Conacher (ZR1HPC)
- Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP? · jean-francois
- Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP? · John Kaufmann
- Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP? · Hylton Conacher (ZR1HPC)
- Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP? · Michael D. Setzer II
- Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP? · Michael D. Setzer II
- Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP? · Remy Gauthier
- Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP? · Michael D. Setzer II
- Re: [libreoffice-users] SUM, SUMIF, IF, INDEX, MATCH, VLOOKUP? · Hylton Conacher (ZR1HPC)
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.