Search string segments in multiline text and return rows on seperate sheet

Izanamphetamine

New Member
Joined
Feb 25, 2011
Messages
1
My problem goes like this,
http://img121.imageshack.us/i/67286679.png/


The sheet above is a section of a maintenance schedule for a machinery. tasks based on the schedule are assigned to the mechanics as cards (based on card Reference Column C). the first set of characters before the hyphen is the card number. these card numbers goes from 01 to 47 and also certain other such as RA, FUN cards are there. one task may belong to 2 or more cards. e.g row 7 task must be in cards 32 , 30 and FUN and these card references are entered in a single cell as multiline text.

I would like my workbook to have separate sheets for each card, and all the tasks that belong to that card to be returned onto that sheet dynamically. for example the sheet for card 22 must show rows 4, 5, 6. sheet for card 30 must show row 7, and sheet for card 32 must also show row 7 in the case of the image above.

Please help.
 
Last edited:

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

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