How to sum arrays vertically in Google Sheets? - google-sheets

I'm trying to sum arrays, vertically, using just a single formula. Any ideas? Thanks in advance!
Example:
5,3,1
-----
4,5,6
-----
2,9,3
-----
--> 11,17,10
Another example:

try:
=INDEX(TEXTJOIN(",", 1, MMULT(1*TRANSPOSE(IFERROR(SPLIT(A1:A3, ","))),
SEQUENCE(COLUMNS(SPLIT(A1:A3, ",")), 1, 1, 0))))

Related

Flip table in Google Sheet

I'm looking to flip a table and can't seem to make it work with a combination of array formula and transpose. I'm looking for a formulae that can do this for larger data set
Please see the picture below for details.
enter image description here
Tried array formulas, transpose, pivot table but with no success
use:
=ARRAYFORMULA(QUERY(SPLIT(FLATTEN(A1:C1&"×"&A2:C10); "×");
"where Col2 is not null"; ))

How to use autofill in Google Sheet formula?

I have formula to auto fill data like column A. It is no need to hand dragging or auto filling by suggestion.
Here column A is perfectly done. Cell A1 formula as below:
={ "VendorNo"; unique(General!A2:A) }
Cell B1 formula is correct as below:
LOOKUP(VendorStatus!A2,sort(General!A2:A),sort(General!C2:C,General!A2:A,TRUE))
Once cell A1 is done, all A column is real auto filled. All I want is to do is the same effect like cell A1. How can I rewrite B1 formula to auto filled the rest B column value?
P.S.: I am sorry I couldn't post image above directly because I don't have enough reputation.
Try in B1 (assuming your formula gives you the right answer)
={"EventStartDate";arrayformula(if(A2:A="",,LOOKUP(A2:A,sort(General!A:A),sort(General!C:C,General!A:A,TRUE))))}
try in row 1:
={"event start date"; INDEX(IFNA(VLOOKUP(A2:A, General!A2:C, 3, 0)))}
or:
={"event start date"; INDEX(IFNA(VLOOKUP(A2:A,
SORT(General!A2:C, ROW(General!A2:C), 0), 3, 0)))}

Count Specific Item Names in Cell

I'm trying to count the instances of which the items have been added to each cell.
Please refer the screenshot.
I need to Count how many:
SIGMA CANON LENS
SIGMA NIKON LENS
SIGMA SONY LENS
are there in the column. Please help me on ow to get this done
try:
=INDEX(QUERY(FLATTEN(SPLIT(TEXTJOIN(CHAR(10), 1, A2:A), CHAR(10))),
"select Col1,count(Col1) group by Col1 label count(Col1)''"))

Calculating Sigma Summation

It doesn't appear that there's a straightforward sigma summation function. How would one calculate the following?
Σ(n=1 to x) of 5+floor(x/10)
try:
=INDEX(SUM((SEQUENCE(1, DAYS(E1+1, E4), E4)*IF(F2="", 1, F2))^IF(H2="", 1, H2)))
Place the x-value in cell A1 and in another cell:
=5*A1+SUMPRODUCT(FLOOR(ROW(A1:INDEX(A:A, A1))/10,1))
This is for Excel. For Google sheets:
much the same.

Google Sheets: Fill series with cell references

I want to fill cells B2:D148 with =VLOOKUP(Sheet8!B2, Descriptions!A3:B, 2, FALSE), replacing B2 in the formula with the current cell. If I use that formula for B2, then series-fill to C2, I get =VLOOKUP(Sheet8!C2, Descriptions!B3:C, 2, FALSE). C2 updates successfully, but it also increments the lookup range, which should be static.
If I manually fix C2 and D2, then series-fill down to Row 3, it's closer, but the A3 reference still becomes A4, which doesn't work.
Is there any way to series-fill one reference in a formula but not the other?
Alternately, is there any way to reference "this" cell, something like =VLOOKUP(Sheet8!$THIS_CELL, Descriptions!A3:B, 2, FALSE)? If so, I could just copy that formula to the entire range.
Thanks!
Why don't you wrap your VLOOKUP in an ARRAYFORMULA() ?
In B2, try:
=ARRAYFORMULA(VLOOKUP(Sheet8!B2:D148, Descriptions!A3:B, 2, FALSE)
NOTE: you will have to make sure there are no othere values or formulas present in the range D2:D148

Resources