Hello,
I'm wondering if it's possible to format data for any of the column data being returned using the
Right now I've got a work in progress using something cobbled together with a portion of code provided by Fluff which I found here as it relates to
Although I'm currently using
Regarding the use of TAB in a formula is likely a separate post. I've tried using CHAR(9) as the delimiter to no avail in various scenarios: TEXTJOIN, CONCAT and just using the ampersand (&).
Any help with better understanding how to handle the output of column data when using CHOOSECOLS would be greatly appreciated.
Thanks…
I'm wondering if it's possible to format data for any of the column data being returned using the
CHOOSECOLS
Function?Right now I've got a work in progress using something cobbled together with a portion of code provided by Fluff which I found here as it relates to
LAMBA
and TEXTJOIN
.Although I'm currently using
TEXT(Points,"0.0"),Level,TEXT(Words,"#,###")
in another scenario to format the numbers, I can't figure out how to format the output for any of the given columns of data that are being joined when using the formula in my sample data below.VBA Testing.xlsm | ||||
---|---|---|---|---|
A | B | |||
1 | Test Date: | 11-May | ||
2 | ||||
3 | Quiz | F/NF | Title | Points | Level | Words | |||
4 | 122822 | F | Mysterious Island (Saddleback) | 1 | 3.5 | 6146 | |||
5 | 186904 | NF | Pilgrims' Voyage to America | 0.5 | 3.7 | 1918 | |||
6 | ||||
7 | Desired Output with formatted POINTS and WORDS: | |||
8 | 122822 | F | Mysterious Island (Saddleback) | 1.0 | 3.5 | 6,146 | |||
9 | 186904 | NF | Pilgrims' Voyage to America | 0.5 | 3.7 | 1,918 | |||
10 | ||||
11 | Desired Output with a TAB to keep TITLES aligned: | |||
12 | 122822 | F | Mysterious Island (Saddleback) | 1.0 | 3.5 | 6,146 | |||
13 | 186904 | NF | Pilgrims' Voyage to America | 0.5 | 3.7 | 1,918 | |||
Format |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A4:A5 | A4 | =BYROW(SORT(FILTER(CHOOSECOLS(t_Students,1,3,2,4,5,6), ISNUMBER(SEARCH($B$1,t_Students[Test Date])),"No Quiz"),6,-1), LAMBDA(br,TEXTJOIN(" | ",TRUE,br))) |
Dynamic array formulas. |
Regarding the use of TAB in a formula is likely a separate post. I've tried using CHAR(9) as the delimiter to no avail in various scenarios: TEXTJOIN, CONCAT and just using the ampersand (&).
Any help with better understanding how to handle the output of column data when using CHOOSECOLS would be greatly appreciated.
Thanks…