Forum Discussion
eechols
Jul 29, 2022Copper Contributor
Textjoin if by column
Hi,
I am new to this community and I don't even know if it's possible, but I would like a textjoin if formula for my work spreadsheets.
On sheet A, I have column A with names, B and C with numbers.
I would like to bring Column A names in a cell (textjoin) of those with their Column B numbers bigger than their Column C numbers besides them on sheet B. Is this possible?
Thank you so much!
See if the attached demo does what you want. It should work in all versions of Excel.
And what is on Sheet B?
- eecholsCopper ContributorI am making a summary sheet on Sheet B. Sheet A has all the actual data. Somehow =TEXTJOIN(",",,FILTER(A1:A5,B1:B5>C1:C5)) gave me an error message of invalid function.
As variant
=TEXTJOIN( ", ", ,IF( B1:B5 > C1:C5, A1:A5, "" ) )
If not Excel 365 or 2021 it shall be entered as array one with Ctrl+Shift+Enter
- Riny_van_EekelenPlatinum Contributor
eechols Let's say the names and numbers are in A1:C5, then this formula will do just that:
=TEXTJOIN(",",,FILTER(A1:A5,B1:B5>C1:C5))
..... provided I understood correctly 🙂