Hi!
I tried to find a descriptive title for a problem that has been nagging me for a while.
If I use an array formula of the type
If I have 2 columns a and B with
A B
1 X
2 X
3 Z
4 Y
5 X
and I want to make a table with
X,Y,Z with the results being the values in A when the column value in B is either X, Y or Z
using an array formula
=(A2:A6)*(B2:B6="X") down the column of the table with heading X, Y and Z, I will get values interspaced by 0.
I was hoping that there might be a way to force the array to shrink to an array with only the numerical values.
I find it hard to explain it in text so would like to send a spreadsheet with the formulas I have been using to clarify the question but I do not know how to share such a spread sheet. It would clarify my question I think.
I had also hoped to use dynamic ranges but the indirect function with dynamic range is a bit problematic. But it would be handy!
Thank you for taking the time to help others out. It is awesome, and I am really grateful for your inputs that fire the urge to trial to do things outside the square.
Many thanks,
Danièle
I tried to find a descriptive title for a problem that has been nagging me for a while.
If I use an array formula of the type
If I have 2 columns a and B with
A B
1 X
2 X
3 Z
4 Y
5 X
and I want to make a table with
X,Y,Z with the results being the values in A when the column value in B is either X, Y or Z
using an array formula
=(A2:A6)*(B2:B6="X") down the column of the table with heading X, Y and Z, I will get values interspaced by 0.
I was hoping that there might be a way to force the array to shrink to an array with only the numerical values.
I find it hard to explain it in text so would like to send a spreadsheet with the formulas I have been using to clarify the question but I do not know how to share such a spread sheet. It would clarify my question I think.
I had also hoped to use dynamic ranges but the indirect function with dynamic range is a bit problematic. But it would be handy!
Thank you for taking the time to help others out. It is awesome, and I am really grateful for your inputs that fire the urge to trial to do things outside the square.
Many thanks,
Danièle