+ Reply to Thread
Results 1 to 4 of 4

Mid,Find,Search Function to Pull out an Invoice Number w/in Inconsistent Format

  1. #1
    Forum Contributor
    Join Date
    01-19-2013
    Location
    Las Vegas, NV
    MS-Off Ver
    Office 365 2016
    Posts
    214

    Mid,Find,Search Function to Pull out an Invoice Number w/in Inconsistent Format

    Lo All o/

    Been a lil while. I am trying to pull out an invoice number (Varies in character length) w/in a comment that is entered into our ledger. I have attached a screenshot of what we're trying to pull out and attached a sample file.

    Any help, if it's possible, is greatly appreciated.

    PullValues.png
    Attached Files Attached Files

  2. #2
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: Mid,Find,Search Function to Pull out an Invoice Number w/in Inconsistent Format

    Hi!

    You could try:
    [H3] : =TRIM(MID(SUBSTITUTE(G3," ",REPT(" ",50)),100,50))

    And drag it down. Blessings!

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Mid,Find,Search Function to Pull out an Invoice Number w/in Inconsistent Format

    I agree with Johnmpl,

    See if this works for you.

    PullOutValues blow up spaces.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Contributor
    Join Date
    01-19-2013
    Location
    Las Vegas, NV
    MS-Off Ver
    Office 365 2016
    Posts
    214

    Re: Mid,Find,Search Function to Pull out an Invoice Number w/in Inconsistent Format

    Quote Originally Posted by johnmpl View Post
    Hi!

    You could try:
    [H3] : =TRIM(MID(SUBSTITUTE(G3," ",REPT(" ",50)),100,50))

    And drag it down. Blessings!
    Worked. Mucho gracias. How are you determining to use the 50/100 values? For instance, how would I determine which values to enter to grab, say, these values:

    PullValues2.png
    Last edited by Miskondukt; 02-21-2018 at 11:46 AM.

+ 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. Replies: 7
    Last Post: 09-23-2017, 10:57 AM
  2. Need a way to find typo's in an invoice number
    By salestemp in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-12-2015, 04:02 PM
  3. User Search Form update Records using Invoice Number
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2013, 04:31 PM
  4. Replies: 4
    Last Post: 11-04-2012, 12:43 PM
  5. Replies: 3
    Last Post: 07-06-2011, 01:47 PM
  6. invoice number save function
    By add3 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-22-2008, 10:22 AM
  7. find the last occurence of an account and grab an invoice number?
    By rmsjazz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-05-2005, 12: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