Tosborn
New Member
- Joined
- May 24, 2016
- Messages
- 44
Howdy,
Data is typically as such:
<tbody>
</tbody>
<colgroup><col style="mso-width-source:userset;mso-width-alt:14226;width:292pt" width="389"> </colgroup><tbody>
</tbody>
<tbody>
</tbody>
Data is typically as such:
<colgroup><col width="389"></colgroup><tbody> </tbody> | |
<colgroup><col width="389"></colgroup><tbody> </tbody> | |
<colgroup><col width="389"></colgroup><tbody> </tbody> | |
<colgroup><col width="389"></colgroup><tbody> </tbody> | |
<colgroup><col width="389"></colgroup><tbody> </tbody> | |
<colgroup><col width="389"></colgroup><tbody> </tbody> | |
<colgroup><col width="389"></colgroup><tbody> </tbody> | |
<colgroup><col width="389"></colgroup><tbody> </tbody> | |
<colgroup><col width="389"></colgroup><tbody> </tbody> |
<tbody>
</tbody>
What I need to do is remove only the 2nd last set of numbers in the string. For example in the first cell I need 67.00, and in the 2nd cell I need 821.00 and so on. As you can see sometimes the number is a low number (67.00) or sometimes is a higher number (1,000.00). Thus causing difficulties in using just a RIGHT formulae. I've tried to first trim the data down a bit, say for example:
<colgroup><col width="395"></colgroup><tbody> </tbody> use =RIGHT(A5,17) then delivers me the value of
<colgroup><col width="395"></colgroup><tbody> </tbody> and use the handy formulae provided on this blog: | ||
=SUMPRODUCT(MID(0&A1,LARGE(INDEX(ISNUMBER(--MID(A1,ROW($1:$25),1))* ROW($1:$25),0),ROW($1:$25))+1,1)*10^ROW($1:$25)/10) |
<colgroup><col style="mso-width-source:userset;mso-width-alt:14226;width:292pt" width="389"> </colgroup><tbody>
</tbody>
However this returns the value of:
<colgroup><col width="83"></colgroup><tbody> </tbody> | |
Which doesn't really help as I still can't 'chop' the number down as sometimes the numbers will be larger or smaller on either side. Any ideas? I'm giving away free virtually coffees for a whizbang formulae You'll be virtually awake, not sure that'll help though. Thanks, Tim |
<tbody>
</tbody>