Forum Discussion
Formula assistance
- Jul 18, 2023
Yes, edit the second argument to FILTER:
=LET( missing, FILTER(Linelist!B2:D4, (Linelist!AU2:AU4 = "")*(LineList!B2:B4<>"")), TAKE(missing, , 1) & ", " & CHOOSECOLS(missing, 2) & " " & TEXT(TAKE(missing, , -1), "mm/dd/yyyy") )
Riny_van_Eekelenhello! the formula worked! but is there anyway for the data to be filled in each line versus all in one cell?
I.e each person who has a missing ID will be listed in each cell
jaolvera Please upload a file with some fake data. Perhaps I just misunderstood or couldn't force what you are dealing with.
- jaolveraJul 18, 2023Brass ContributorThank you so much!!!! worked perfectly
- flexyourdataJul 18, 2023Iron Contributor
Yes, edit the second argument to FILTER:
=LET( missing, FILTER(Linelist!B2:D4, (Linelist!AU2:AU4 = "")*(LineList!B2:B4<>"")), TAKE(missing, , 1) & ", " & CHOOSECOLS(missing, 2) & " " & TEXT(TAKE(missing, , -1), "mm/dd/yyyy") ) - jaolveraJul 18, 2023Brass Contributorthank you! that worked, if there a way to add an "if" statement that will apply this formula only if Column b has data entered?
- flexyourdataJul 18, 2023Iron Contributor
You had the spill error from my original formula because your input area for the formula is comprised of merged cells. You should un-merge the white cells for columns R and S, then enter the formula:
=LET( missing, FILTER(Linelist!B2:D4, Linelist!AU2:AU4 = ""), TAKE(missing, , 1) & ", " & CHOOSECOLS(missing, 2) & " " & TEXT(TAKE(missing, , -1), "mm/dd/yyyy") ) - jaolveraJul 18, 2023Brass Contributor
I have uploaded the spread sheet, thank you
- flexyourdataJul 18, 2023Iron Contributor
The issue is that TEXTJOIN doesn't join row-wise. So, you either need to wrap it in BYROW and use TEXTJOIN row-wise or revert to the simple column concatenation as in my original formula.