Results 1 to 2 of 2

Thread: Find and copy number to new cell

  1. #1

    Find and copy number to new cell



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hi!

    I need a formula that can search for 445 in a column and return only numbers that starts with 445

    E.g.

    "Raw" Data
    1445116
    1445116
    22126E+12
    221653E+12
    221629E+12
    221161E+12
    445502E+14
    445502E+14

    Output (after formula)
    445502E+14
    445502E+14

    Since I am not that good in VBA I need a straight forward formula

    Thanks

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,294
    Articles
    57
    Blog Entries
    14
    Excel Version
    Excel Office 365 Insider
    Is your data in tabular format? One way would be to do the following:
    • Run a formula down beside your numbers that looks like =TEXT(A1,"###")
    • Create a PivotTable off that data
    • Put the values in the row field
    • Filter the row field to "Contains " your number
    After that, you just need to right click and update the PivotTable to keep the list in sync with your data.
    Ken Puls, FCPA, FCMA, MS MVP

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •