Look for text then count number next to it

JBC70

New Member
Joined
Mar 11, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi everyone - I'm hoping I can get some assistance on a formula for the following:

Currently I have a cell that contains (BOS4)(CAB11)(FRE101) - next to this cell I have 3 cells each the heading BOS, CAB & FRE. Under that headings I need a formula that will grab the number next to each in the cell and put that number in the cell under its corresponding heading ie formula is "Look for 'BOS' and place the number next to under the BOS heading.

Hope this makes sense?

Thank you very much in advance.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Perhaps:

Book1
ABCD
1BOSCABFRE
2(BOS4)(CAB11)(FRE101)411101
3(CAB12)(FRE9)0129
Sheet1
Cell Formulas
RangeFormula
B2:D3B2=--(IFERROR(TEXTBEFORE(TEXTAFTER($A2,B$1),")"),0))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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