Sum Up Values from the Same Date Google Sheets - date

I am looking to sum up the values from different cells which occur on the same date. I wish to use the dates from column E and the values from column B.
For example- date 11/09/2022 should add up to 14,919.8 but on the formula I used from a previous answer it results in 36945.4. What do I need to do to change this?
I have tried to use previous answers to resolve this issue but was unsuccessful.
The sheet can be found here if you wish to play around with it:
https://docs.google.com/spreadsheets/d/11RjGeyOIpGS2q7fDmG0bgniQxibCGe9f-xHi-tmVexc/edit?usp=sharing
Thanks for your help

use:
=QUERY({E3:E, B3:B},
"select Col1,sum(Col2)
where Col2 is not null
group by Col1
label sum(Col2)''")

Related

Adding Columns using google sheets

Is there a way I can add a total of a column if the numbers are imported from a different sheet with google sheets? and matching a pair of dates?
=SUMIFS($S$8:S47,$O$8:$O47,">="&T$51,$O$8:$O47,"<="&$V$51)
most likely this is the issue of QUERY. query likes to "assume" the type of dataset (numeric/plain text) and 90% of time it assumes it wrongly so you either end up with empty columns or missing values. use in S6:
=IMPORTRANGE("1nC7e8za4_SjIAbPsRv4loQ8CHinwcp0J43LcyG0qopM", "August 2022!i3:j45")

Conditional formatting google sheets, match date between two dates- mark that row that is matching

I am looking for a way to match any date in a column of dates with a bunch of start/end periods at columns next to it. If any match, mark my cell.
I have managed to do this for one row, but I would like it to look at a whole column (or set range ex X6-X10) and compare with a bunch of date-periods in two columns.
Any one with any ideas of how I can do that?
This is what I have come up with so far:
And I am using this formula:
=AND($X$6>=$R$6,$X$6<=$T$6)
But, as I said, this only works for one row today. I would like to look through all rows in the columns.
This formula should work:
=COUNTIFS(X$6:X,">="&R6,X$6:X,"<="&T6)

Power BI convert eight digit yyyymmdd to date using DAX

I'm trying to convert eight digit yyyymmdd to date format with DAX function.
column = DATE(LEFT(TABLE[COLUMN],4),MID(TABLE[COLUMN],5,2),RIGHT(TABLE[COLUMN],2))
However, I've got an error because of the original column has some records with "00000000", so how can I make a default value with IF statement or are there any better solution?
Best regards
What I typically do is just make 2 distinct Power Query steps and this is handled automatically.
just make the yyyymmdd column a text column
make the text column from step 1 a date column (when prompted, be sure to select 'Add New Step')
replace errors with null
That's it. You can even Ctrl-Click to select multiple columns and combine them into the 1,2, and 3 steps with multiple columns.
Please check out "ferror" function IFERROR(value, value_if_error) for more information please visit Microsoft MSDN with link below
https://msdn.microsoft.com/en-us/library/ee634765.aspx
column = IFERROR( DATE(LEFT(TABLE[COLUMN],4),MID(TABLE[COLUMN],5,2),RIGHT(TABLE[COLUMN],2)), DATE(yyyy,mm,dd))

Crystal Report - How to sum by item number during a time period

I am wondering if we can sum by item number which looks like sum(quantity, item#) but I don't know if I want it to sum the quantity specific from date A to date B how can i do that. Please let me know if you figured out.
Create a formula field:
//{#quantity}
If {view.date_field} In Date(2013,06,01) To Date(2013,06,30) Then
{view.item_quantity}
Insert a group on the {view.item_number} field (Insert | Group...)
Insert a summarized field on the formula field (Insert | Summary...), specify the group that you just created.
the answer lies within your question, the formula that you have written is called conditional sum.
sum(quantity, item#);
create a formula writing exactly the same thing, but replacing the arguments with the actual database fields which I assume would make the formula, somewhat like this.
sum({view.item_quantity}, {view.item_number});
hope this helps...

Can not sort month-year column?

I have a date column. I created Month-Year column in my report using the following expression, but I am not able to sort month-year wise.
=MonthName(Month(Fields!new_sitevisiteddateutc.Value))& "-"& Year(Fields!new_sitevisiteddateutc.Value)
I would like to have MAY-2009 JUNE-2009 JANUARY-2011 MARCH-2011, however I am getting JUNE-2009 MARCH-2011 MAY-2009 JANUARY-2011.
Can someone help me with this?
In the table properties you can add multiple sorting fields and thier order.
Sort by year first and then month.
=Year(Fields!new_sitevisiteddateutc.Value)
=Month(Fields!new_sitevisiteddateutc.Value)