L
Lauren
Hello
I was hoping someone could help me out of a bit of a
problem...
I have a list of items with a qty in brackets at the end
of the item listed. From that I need to extract just the
characters to the left of the eg.
"space" + "(8)"
OR
"space" + "(12)"
I did have =LEFT(A1,(LEN($A$1)-4))
but I need it to dynamically allow for 4 OR 5 characters.
Can I use an if statement or is there an easier way or a
different way to attack this monster???
I have hundreds of these listed which change regularly. I
don't want to have to check each formula individually.
eg.
A B
HP rp7546 650MHz (2) | =LEFT(A1,(LEN($A$1)-4))
HP rp7546 650MHz
HP rp7546 650MHz (8) | =LEFT(A2,(LEN($A$2)-4))
HP rp7546 650MHz
HP rp7546 650MHz (12) | =LEFT(A3,(LEN($A$3)-5))
HP rp7546 650MHz
IBM p650 Express 1200MHz (2) | =LEFT(A4,(LEN($A$4)-4))
IBM p650 Express 1200MHz
IBM p650 Express 1200MHz (4) | =LEFT(A5,(LEN($A$5)-4))
IBM p650 Express 1200MHz
IBM p650 Express 1200MHz (12) | =LEFT(A6,(LEN($A$6)-5))
IBM p650 Express 1200MHz
I would be grateful for any assistance
Thank you!
Kind regards,
Lauren
I was hoping someone could help me out of a bit of a
problem...
I have a list of items with a qty in brackets at the end
of the item listed. From that I need to extract just the
characters to the left of the eg.
"space" + "(8)"
OR
"space" + "(12)"
I did have =LEFT(A1,(LEN($A$1)-4))
but I need it to dynamically allow for 4 OR 5 characters.
Can I use an if statement or is there an easier way or a
different way to attack this monster???
I have hundreds of these listed which change regularly. I
don't want to have to check each formula individually.
eg.
A B
HP rp7546 650MHz (2) | =LEFT(A1,(LEN($A$1)-4))
HP rp7546 650MHz
HP rp7546 650MHz (8) | =LEFT(A2,(LEN($A$2)-4))
HP rp7546 650MHz
HP rp7546 650MHz (12) | =LEFT(A3,(LEN($A$3)-5))
HP rp7546 650MHz
IBM p650 Express 1200MHz (2) | =LEFT(A4,(LEN($A$4)-4))
IBM p650 Express 1200MHz
IBM p650 Express 1200MHz (4) | =LEFT(A5,(LEN($A$5)-4))
IBM p650 Express 1200MHz
IBM p650 Express 1200MHz (12) | =LEFT(A6,(LEN($A$6)-5))
IBM p650 Express 1200MHz
I would be grateful for any assistance
Thank you!
Kind regards,
Lauren