Identifying & Extracting a range of set items from a cell and listing them

Peptide

Board Regular
Joined
Apr 12, 2016
Messages
224
Office Version
  1. 365
Platform
  1. Windows
Hello,
Looking for some help if possible, I have done a bunch of looking but can't find what I need. I have to use a formula as this will be copied about 50x on a worksheet. Have not use this forum in a while but it never disappoints to thanks in advance!

1) Start with a sequence in A2
Start with a list of items to be removed in B2:B6
- New items will be added to the range as needed
- The ? is a wild card meaning it could be an A, B, C, D, etc.

2) A11 starts the list of items that were found that need to be removed
- FIrst D^, then J^, then H^^ etc.
- If the range of found items was A11:A20 that would be enough

3) A3 takes off the 1st item found that needs to be taken out of the sequence
- in this example, the D^ was taken out of the sequence

A4 takes off the 2nd item found that needs to be taken out of the sequence
- in this example, the J^ was taken out of the sequence


Mr Excel.JPG
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hello - I was able to figure out how to add this ability!

Mr excel 2.xlsx
AB
1SequenceList of Items to be removed
2AB(XYZ)FJKD^HKH^^KJF(ABC)DHKJ^HKJ?^
3AB(XYZ)FJKHKH^^KJF(ABC)DHKJ^HKJ?^^
4AB(XYZ)FJKHKKJF(ABC)DHKHKJ(?)
5ABFJKHKKJF(ABC)DHKHKJ
6ABFJKHKKJFDHKHKJ
7? = wildcard of any letter
8
9
10Items Found
11D^
12J^
13H^^
14(XYZ)
15(ABC)
16
17
Excel 2
 
Upvote 0

Forum statistics

Threads
1,214,620
Messages
6,120,559
Members
448,970
Latest member
kennimack

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