filter and textjoin within each row of result

excel wannabe PP

New Member
Joined
Nov 16, 2022
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi,
i have a list of names and places. i am looking to filter the range based off place and return each name on a seperate row. however i want the first and last name joined together.
something like =textjoin(" ',,filter(a2:b5,c2:c=ny)) but keep rows seperate.

thanks!

firstlaststatereturn like this
bobarmnybob arm
stevecohnnjmarry jay
marryjayny
markappleca
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi ,
Can you try this ?

1668672201873.png
 
Upvote 0
Similar idea
Fluff.xlsm
ABCDE
1firstlaststatereturn like this
2bobarmnybob arm
3stevecohnnjmarry jay
4marryjayny
5markappleca
6
Main
Cell Formulas
RangeFormula
E2:E3E2=BYROW(FILTER(A2:B100,C2:C100="ny"),LAMBDA(br,TEXTJOIN(" ",,br)))
Dynamic array formulas.
 
Upvote 0
Welcome to the MrExcel board!

Another option for a sample like that ..

22 11 17.xlsm
ABCDE
1firstlaststatereturn like this
2bobarmnybob arm
3stevecohnnjmarry jay
4marryjayny
5markappleca
6
Sheet2 (2)
Cell Formulas
RangeFormula
E2:E3E2=FILTER(A2:A10&" "&B2:B10,C2:C10="ny")
Dynamic array formulas.
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,700
Messages
6,126,281
Members
449,308
Latest member
VerifiedBleachersAttendee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top