I have an issue with my Mac to enter an array formula.
I detail what I did so far.
I choose the output cells of the formula
Write the formula
press CMD+SHIFT+RETURN
It does not transform the formula into an array formula with the brackets {},
It only makes a line break on my formula. I tried pressing F2 upfront CMD+SHIFT+RETURN but it doesn't work neither.
Can you help me with this one ?
I've seen there are many people having the same issue on Excel Mac 2020, but didn't find any solution so far.
Best
Related
Im new in excel formulas. I need an excel formula that can sort delimited numbers in a single cell.
Note: I have different lengths of values per cell.
I.g.
349|2|4|11|1|2
Outcome:
1|2|2|4|11|349
Im thinking of reverse concatenating it first then sort it then concatenate it again. But i can't figure it out how to make a working formula for that. Hope someone can help me. Thanks.
This formula solution worked in cell contains numeric value only.
The formula using Textjoin and Filterxml function of which Textjoin available in Office 365 and Excel 2019, and Filterxml available in Excel 2013 and later Excel version
Assume your data housed in A1
In B1, enter array formula (Confirm by pressing Shift + Ctrl + Enter) :
=TEXTJOIN("|",1,IFERROR(1/(1/SMALL(FILTERXML("<a><b>"&SUBSTITUTE(A1,"|","</b><b>")&"</b></a>","//b"),ROW($1:$99))),""))
I stumbled across this forum while trying to solve an issue with a data set I am trying to convert into a table.
My data includes both numbers and two colors in column A, in descending order. Is there a way I can get column B to reference the last occurrence of the two colors?
IE:
Something that looks like this :
Any help would be greatly appreciated!
This formula seems to do what you say you want:
B2: =IF(OR(A2={"RED","GREEN"}),"", INDEX($A:$A, MAX(($A$2:$A2={"RED","GREEN"})*ROW($A$2:$A2))))
In some earlier versions of Excel, you may need to "confirm" this formula by holding down ctrl + shift while hitting enter. If you do this correctly, Excel will place braces {...} around the formula as observed in the formula bar
In B2, copied down until blank :
=IF((A2="")+ISTEXT(A2),"",LOOKUP("zzz",A$1:A2))
Hi Everyone, Please have a look on Cell D2. I have tried the Formula
=VLOOKUP(B2,$B$8:$D$12,3)
But it doesn't give the Result i.e. I require 04 Values as I have written there Manually but it's giving only 01 Value. I think an Array Formula might work but don't know.
VLOOKUP will not work as it will only return one answer.
You will want TEXTJOIN as an array formula
=TEXTJOIN(CHAR(10),TRUE,IF($B$8:$B$12 = B2,$D$8:$D$12,""))
Being an array formula it must be confirmed with Ctrl-Shift-Enter instead of Enter when exiting edit mode.
TEXTJOIN was introduced with Office 365 Excel.
If you do not have Office 365 Excel and still want the values in one cell like your example you will need vba.
I have used the sumif formula for many years but I find it is not working now. The report I have was first a text or pdf that was converted into an excel file. I have done the F9 key that did not work. I have checked the compatibility mode setting. The cells are number fields not text or general. I could use some expert advise how to make the formulas work.
Here is a screen shot of a sample page. The formula is in cell J6 thru J8, the formula in in the formula bar.
I think this is what you need:
=SUMIFS(C:C,A:A,I6,B:B,$J$5)
If this still gives you troubles go with:
=SUMIFS(C:C,A:A,"*"&I6&"*",B:B,"*"&$J$5&"*")
And to put it into perspective of your formula:
{=SUM(IF((A:A="*"&I6&"*")*(B:B="*"&$J$5&"*"),C:C))}
I am using Excel to do some dot product between two row vectors:
=MMULT(B1049:M1049, TRANSPOSE(B1050:M1050))
But it does not work, as the cell for the formula shows "#VALUE!". I wonder why? Thanks!
Note that all the cells in "B1049:M1049" and "B1050:M1050" are numbers.
PS: Is this question more suitable here or Superuser?
probably simpler, you can just use =SUMPRODUCT(vec1,vec2).
This is exactly the Euclidean inner product, without resorting to array formulas.
you need to enter MMULT as an array formula, not as a standard formula
rather then hit enter when you type the formula in pres
ctrl-shift-enter
and excel will enter it as an array
it will end up looking like
{=MMULT(B1049:M1049, TRANSPOSE(B1050:M1050))}
(please note you can't enter the {} manually)
You may want to look at Excel help which covers this well