How to extract specific data from a cell

shlomek12

Board Regular
Joined
Aug 2, 2011
Messages
242
I am looking to get out from all cells the letters I made in buld out from this cell

https://www.screencast.com/t/apAeD0FCrE6

walgreens.com/store/c/as-seen-on-tv-roll-a-lotion-applicator/ID=prod6095201-product
walgreens.com/store/c/the-ove-glove-hot-surface-handler-oven-mitt/ID=prod6021452-product
walgreens.com/store/c/finishing-touch-lumina-personal-hair-remover/ID=prod2436909-product


<tbody>
</tbody>
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
use this if they always have 7 digits for the number

in cell B1
=MID(A1,FIND("ID=prod",A1)+7,7)
 
Last edited:
Upvote 0
Hi,

This will handle variable length numbers:


Book1
ABC
1walgreens.com/store/c/as-seen-on-tv-roll-a-lotion-applicator/ID=prod6095201-product6095201
2walgreens.com/store/c/the-ove-glove-hot-surface-handler-oven-mitt/ID=prod6021452-product6021452
3walgreens.com/store/c/finishing-touch-lumina-personal-hair-remover/ID=prod2436909-product2436909
4walgreens.com/store/c/as-seen-on-tv-roll-a-lotion-applicator/ID=prod609520111-product609520111
5walgreens.com/store/c/the-ove-glove-hot-surface-handler-oven-mitt/ID=prod60214-product60214
Sheet60
Cell Formulas
RangeFormula
C1=SUBSTITUTE(MID(A1,SEARCH("/ID=prod",A1)+8,255),"-product","")


Formula copied down.

EDIT: you might find this thread helpful: https://www.mrexcel.com/forum/excel...g-multiple-individual-functions-into-one.html
 
Last edited:
Upvote 0
Hi,

This will handle variable length numbers:

ABC
1walgreens.com/store/c/as-seen-on-tv-roll-a-lotion-applicator/ID=prod6095201-product6095201
2walgreens.com/store/c/the-ove-glove-hot-surface-handler-oven-mitt/ID=prod6021452-product6021452
3walgreens.com/store/c/finishing-touch-lumina-personal-hair-remover/ID=prod2436909-product2436909
4walgreens.com/store/c/as-seen-on-tv-roll-a-lotion-applicator/ID=prod609520111-product609520111
5walgreens.com/store/c/the-ove-glove-hot-surface-handler-oven-mitt/ID=prod60214-product60214

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet60

Worksheet Formulas
CellFormula
C1=SUBSTITUTE(MID(A1,SEARCH("/ID=prod",A1)+8,255),"-product","")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



Formula copied down.

EDIT: you might find this thread helpful: https://www.mrexcel.com/forum/excel...g-multiple-individual-functions-into-one.html


Thanks you very much
 
Upvote 0
How can I remove everything except the last numbers?

https://www.ikea.com/us/en/catalog/products/00015134/

<tbody>
</tbody>

<tbody>
</tbody>

I need the number 00015134

Please share a formula with me

Thanks in advance

<tbody>
</tbody>
 
Upvote 0
Hi,

Like this:


Book1
ABC
1https://www.ikea.com/us/en/catalog/products/00015134/00015134
Sheet69
Cell Formulas
RangeFormula
C1=TRIM(RIGHT(SUBSTITUTE(A1,"/",REPT(" ",100)),200))
 
Upvote 0

Forum statistics

Threads
1,215,216
Messages
6,123,669
Members
449,114
Latest member
aides

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