Pull only specific data from 4 columns into one column

Mickid32

New Member
Joined
Dec 13, 2024
Messages
3
Office Version
  1. 365
Platform
  1. MacOS
Hi,
I have 4 columns of data (AG, AH, AI, and AJ) any of the 4 columns could have the data I’d like to pull “Personal Title: (combination of numbers and letters at different lengths) into the newly created column (AK). How would I go about this?

1734117806411.png
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Excel Formula:
=INDEX(AG2:AJ2,MATCH(1,--ISNUMBER(SEARCH("Personal Title",AG2:AJ2)),0))
 
Upvote 0
MrExcelPlayground23.xlsx
ABCDE
21Thing: JohnObject: ffPersonal Title: 32342age: 100Personal Title: 32342
22object: AXPersonal Title: 332334principle: fredemail: fred@a.cPersonal Title: 332334
23Personal Title: 112233email: fred@a.cobjectd: asdfWhat: UpPersonal Title: 112233
24Job Title: smartygoofy: YesPersonal Title: 32121Job Title: smartyPersonal Title: 32121
25Hello: thereWho: on firstWhat: WherePersonal Title: 8675309Personal Title: 8675309
Sheet25
Cell Formulas
RangeFormula
E21:E25E21=FILTER(A21:D21,LEFT(A21:D21,15)="Personal Title:")
 
Upvote 0
Solution
Hi & welcome to MrExcel.
Another option
Fluff.xlsm
ABCDE
1
2Thing: JohnObject: ffPersonal Title: 32342age: 100Personal Title: 32342
3object: AXPersonal Title: 332334principle: fredemail: fred@a.cPersonal Title: 332334
4Personal Title: 112233email: fred@a.cobjectd: asdfWhat: UpPersonal Title: 112233
5Job Title: smartygoofy: YesPersonal Title: 32121Job Title: smartyPersonal Title: 32121
6Hello: thereWho: on firstWhat: WherePersonal Title: 8675309Personal Title: 8675309
Data
Cell Formulas
RangeFormula
E2:E6E2=LET(d,TOCOL(A2:D10,1),FILTER(d,LEFT(d,15)="personal title:"))
Dynamic array formulas.
 
Upvote 0
and yet another option with Power Query

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Unpivoted Columns" = Table.UnpivotOtherColumns(Source, {}, "Attribute", "Value"),
    #"Filtered Rows" = Table.SelectRows(#"Unpivoted Columns", each Text.StartsWith([Value], "Personal Title")),
    #"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Value"})
in
    #"Removed Other Columns"
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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