Windows Vista Forums

Extract a NUmber from a string of Text
  1. #1


    marcella63 Guest

    Extract a NUmber from a string of Text

    Dear Experts:

    I would like to extract a number from multi-line excel cells. The
    cells have the following make-up

    SELLING & MARKETING EXPENSES:MARKETING:Other Marketing:6019 · Travel:6019.15
    · Hotel
    SELLING & MARKETING EXPENSES:Brand Development:6100 · Brand Development
    Labor:6100.01 · Brand Development Salaries
    SELLING & MARKETING EXPENSES:Brand Development:6100 · Brand Development
    Labor:Burden:6100.04 · Social Securitiy/MED
    SELLING & MARKETING EXPENSES:Brand Development:6100 · Brand Development
    Labor:Burden:6100.05 · FUTA/SUI Expense


    In the above example I would like to extract the number located
    to the far right. Can this be done using a formula/function?

    Help is much appreciated. Thank you very much in advance.



    Regards, Marcella.



      My System SpecsSystem Spec

  2. #2


    eBob.com Guest

    Re: Extract a NUmber from a string of Text

    It looks like what regular expressions are intended for.

    Bob

    "marcella63" <marcella63@newsgroup> wrote in message
    news:B6C8050A-9295-4E90-BBFA-7DFD96AACC92@newsgroup

    > Dear Experts:
    >
    > I would like to extract a number from multi-line excel cells. The
    > cells have the following make-up
    >
    > SELLING & MARKETING EXPENSES:MARKETING:Other Marketing:6019 ·
    > Travel:6019.15
    > · Hotel
    > SELLING & MARKETING EXPENSES:Brand Development:6100 · Brand Development
    > Labor:6100.01 · Brand Development Salaries
    > SELLING & MARKETING EXPENSES:Brand Development:6100 · Brand Development
    > Labor:Burden:6100.04 · Social Securitiy/MED
    > SELLING & MARKETING EXPENSES:Brand Development:6100 · Brand Development
    > Labor:Burden:6100.05 · FUTA/SUI Expense
    >
    >
    > In the above example I would like to extract the number located
    > to the far right. Can this be done using a formula/function?
    >
    > Help is much appreciated. Thank you very much in advance.
    >
    > Regards, Marcella.
    >
    >


      My System SpecsSystem Spec

Extract a NUmber from a string of Text problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Concatenate text string and text in variable with no space between Minniti Sergio PowerShell 4 06 May 2009
Concatenate text string and text in variable with no space between Minniti Sergio VB Script 1 04 May 2009
Extract folder from dir path (String) Gregor PowerShell 1 17 May 2008
Extract build order using command line to text files EF .NET General 0 17 Apr 2008
Extract string from web page Brian Hoort PowerShell 3 11 Jan 2007