+ Reply to Thread
Results 1 to 5 of 5

Finding and Retrieving Numbers and Names from a Large Workbook

  1. #1
    Registered User
    Join Date
    07-04-2014
    Location
    USA
    MS-Off Ver
    365
    Posts
    4

    Finding and Retrieving Numbers and Names from a Large Workbook

    Hello,

    I would like to recover and make usable some information that's within a huge spreadsheet with many rows. What I'd like to do is add rows to the top of the spreadsheet and run two functions that will display the small amount of useful information in those new rows.

    All the useful information is within brackets, usually all in one set of brackets per column. The information has two components: one or more numbers of varying length and one or more words. Ideally one cell in each of my new rows would display the names currently within the brackets and one cell would list the numbers.

    The numbers are of different length so I can't just fetch the first x digits after the opening bracket with =LEFT. The other thing that I can't figure out is how to search when the important cell is in a different row from one column to the next.

    Thanks in advance for your help. I'm open to really taking the time to learn about this, so even pointing me to the appropriate instructional video would be a huge help because I am at a loss.
    Attached Files Attached Files
    Last edited by disfunctional; 12-17-2014 at 03:53 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Finding and Retrieving Numbers and Names from a Large Workbook

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    07-04-2014
    Location
    USA
    MS-Off Ver
    365
    Posts
    4

    Re: Finding and Retrieving Numbers and Names from a Large Workbook

    OK, done!

    Column C corresponds exactly to what I was asking in the original post. Columns D and E are more complicated cases I also don't know how to handle.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Finding and Retrieving Numbers and Names from a Large Workbook

    Edit: The UDF Personal.xlsb!DigitsOnly will not work upon opening the attached file. It will only work after installing.

    The Personal.xlsb! part just happens to be the macro file I have this one stored in. You may want to change that part.



    Here's an attempt. The Name: formula is in C2:E2 of the new sheet I added. If it works 75% of the time I'll be shocked. I am not confident

    I found a consistent pattern in the examples. The ", " and number(s?) combinations mid-text threw me. This formula worked for that but only because I

    knew it was there.

    The second formula C3:E3 has the same limitations. In didn't try to take the "7, 1 " part any further than I did.

    For the third formula C4:E4 I used a User Defined Function called DigitsOnly. I got this one from Rick Rothstein. I've included the code in

    this post. I modified it slightly so that it only returns numbers as text. I does not retain the ", "s or "-"s. Perhaps you can modify the

    code below to address that.

    File is attached.

    Please Login or Register  to view this content.
    I hope this helps somewhat.
    Last edited by FlameRetired; 12-18-2014 at 01:47 AM.

  5. #5
    Registered User
    Join Date
    07-04-2014
    Location
    USA
    MS-Off Ver
    365
    Posts
    4

    Re: Finding and Retrieving Numbers and Names from a Large Workbook

    Thanks so much for your help. My computer died before you answered so I am just now getting to take a look at this. I hope to post later after I try applying it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Deleting large numbers of graphics in workbook
    By ozzman1965 in forum Excel General
    Replies: 6
    Last Post: 05-03-2012, 07:34 AM
  2. Retrieving Offset Values from Secondary Workbook based on Names
    By Kouk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-05-2012, 07:50 PM
  3. Finding workbook file names
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-24-2011, 12:52 PM
  4. Finding streaks in large sets of numbers
    By Jish in forum Excel General
    Replies: 4
    Last Post: 02-14-2010, 08:48 PM
  5. help finding single names from large list
    By dew23456 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-24-2006, 09:10 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1