+ Reply to Thread
Results 1 to 4 of 4

Need to define a search or define instruction to extract parts of data from cell

  1. #1
    Registered User
    Join Date
    11-13-2018
    Location
    Washington US
    MS-Off Ver
    Windows 365
    Posts
    31

    Need to define a search or define instruction to extract parts of data from cell

    Hello, I normally tend to shy away from VBA because it seems to tend to corrupt or bog down my spreadsheets. However I am not sure if there is a solution with formulas alone.



    I have Excel 2019 MSO.

    In the attachment there are two tabs, one named "dashboard" and one named "Jobs"

    Summary of result needed:
    In the JOB tab I need to pull (from dashboard tab) all applicable S/O (order of list doesn't matter) for corresponding job (into column D) and earliest Ship date of all applicable ship dates for corresponding job (into column E).
    Must search all job columns (columns G, H & I) on DASHBOARD.

    Specific Examples of result needed:
    On the job tab, I need Cell D18 to populate S/O with "17897-1-22" and E18 with Ship date "2/5/2020"
    On the job tab, I need Cell D14 to populate S/O in with "16953-1-12, 17897-1-22, 17366-1-13" (in this format) and Ship date with "1/25/2020" (earliest ship date of the 3)

    Note: the reason that I need all applicate S/O is because I need to be able to filter a long list of jobs per S/O.


    Constants:
    • All S/O will have one of the following formats and only one S/O entry per cell in Dashboard column C.
      xxxxx-x-x
      xxxxx-x-xx
      xxxxx-xx-x
      xxxxx-xx-xx
    • Despite what you see in Dashboard columns G-I, I only need (and want) the function to search (identify) or extract jobs (extraction can be done separately if needed) numbers which are defined as:
      xxxx (numeric digits only)
      xxxxx (numeric digits only)



    I suppose I envision a index/match with text join and some kind of special character removal functions but I am not sure what is possible let alone the best way to get the result needed.


    Thanks so much for your assistance.



    Dawn Clark
    Attached Files Attached Files

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,192

    Re: Need to define a search or define instruction to extract parts of data from cell

    I normally tend to shy away from VBA because it seems to tend to corrupt or bog down my spreadsheets
    No, cannot be...

    One unorthodox way I guess...Try this...Unless I misread your expectation...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Registered User
    Join Date
    11-13-2018
    Location
    Washington US
    MS-Off Ver
    Windows 365
    Posts
    31

    Re: Need to define a search or define instruction to extract parts of data from cell

    Forgive me but I am not sure what the next step is. i have the code now and have inserted it into my sheet and saved as macro-enabled but I do not know how to apply it to get the result that i was trying to get.

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,192

    Re: Need to define a search or define instruction to extract parts of data from cell

    Hi Dawn

    See attached...
    Attached Files Attached Files

+ 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] Getting compile error user-define type not define
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-07-2015, 07:22 AM
  2. keep getting a application define or object define runtime error
    By JRJLHJ1823 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-22-2015, 08:55 PM
  3. Define which sheet to extract data from
    By vonborge in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2013, 06:47 AM
  4. error 1004 application define or object define
    By jay11 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-11-2011, 04:09 AM
  5. Define named range where user can define size
    By nahousto in forum Excel General
    Replies: 4
    Last Post: 07-06-2009, 05:09 PM
  6. Using cell values to define a search field for duplicates
    By dbenjafield in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-16-2008, 11:00 PM
  7. How to define an array in multiple parts (eg. for the function correl)
    By Smirgelius in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2008, 01:13 AM

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