Extract info into a string

Gixxer Lad

New Member
Joined
Dec 21, 2004
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Hello all,
If possible I would like a formula to go into cell N2 to make a string of all the players that have scored in the Row 2 to look like it does in the attached sheet.
Many thanks in advance.


Book1.xlsx
ABCDEFGHIJKLMN
1Player 1Goals 1Player 2Goals 2Player 3Goals 3Player 4Goals 4Player 5Goals 5Player 6Goals 6
2John2DeanHarry3JerryBobBill3John 2, Harry 3, Bill 3
3
Sheet1
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Like this?

Gixxer Lad_1.xlsm
ABCDEFGHIJKLMN
1Player 1Goals 1Player 2Goals 2Player 3Goals 3Player 4Goals 4Player 5Goals 5Player 6Goals 6
2John2DeanHarry3JerryBobBill3John 2, Harry 3, Bill 3
Sheet1
Cell Formulas
RangeFormula
N2N2=TEXTJOIN(", ",,IF(ISNUMBER(B2:L2),A2:K2&" "&B2:L2,""))
 
Upvote 0
Solution
How do these things look so easy when you have the solution😂
Thank you Peter.
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,215,106
Messages
6,123,123
Members
449,096
Latest member
provoking

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