itty wrote...
If one cell contain both alpha and numeric values, can we
extract out these sepratley in excel. For eg. if cell no A1 contains
the value "BS-Side Panel 342.5x560x18-Grey", can we take out
342.5x560x18 in another cell?
If you mean to extract the substring between the leftmost and rightmos
decimal numerals inclusive, you could try the formula
=MID(LEFT(A1,LOOKUP(2,1/MID(A1,ROW(INDIRECT("1:32767")),1),
ROW(INDIRECT("1:32767")))),LOOKUP(2,1/MID(A1,32767-ROW(INDIRECT("1:32767")),1),
32767-ROW(INDIRECT("1:32767"))),32767)
If you need to use this formula in many cells, you could save spac
(but not recalc time) by defining names like MAXLEN referring to th
number constant 32767 and SEQ referring to the formul
=ROW(INDIRECT("1:"&MAXLEN)). Then you could reduce the formula abov
to
=MID(LEFT(A1,LOOKUP(2,1/MID(A1,SEQ,1),SEQ)),
LOOKUP(2,1/MID(A1,MAXLEN-SEQ,1),MAXLEN-SEQ),MAXLEN)
These needn't be entered as array formulas