+ Reply to Thread
Results 1 to 12 of 12

How to retrieve desire text from input sheet to output sheet ?

  1. #1
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    How to retrieve desire text from input sheet to output sheet ?

    I have two sheet (input & output). please check the attachment.
    input sheet having data in the CELL A1:A , & form them i want to retrieve desire text in the output sheet A:E.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,560

    Re: How to retrieve desire text from input sheet to output sheet ?

    Try
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    08-29-2012
    Location
    In lockdown
    MS-Off Ver
    Excel 2010 (2003 to 2016 but 2010 for choice)
    Posts
    1,766

    Re: How to retrieve desire text from input sheet to output sheet ?

    This would be almost impossible to achieve through the use of formulas only. However I am thinking this may be possible with a macro. I will see if I can come up with some working code in the next few days.
    *******************************************************

    HELP WANTED! (Links to Forum threads)
    Trying to create reusable code for Custom Events at Workbook (not Application) level

    *******************************************************

  4. #4
    Valued Forum Contributor
    Join Date
    08-29-2012
    Location
    In lockdown
    MS-Off Ver
    Excel 2010 (2003 to 2016 but 2010 for choice)
    Posts
    1,766

    Re: How to retrieve desire text from input sheet to output sheet ?

    Quote Originally Posted by jindon View Post
    Try
    Please Login or Register  to view this content.
    Didn't see your post before I posted!

    That code is very impressive jindon. You are almost there.

  5. #5
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: How to retrieve desire text from input sheet to output sheet ?

    Hi, jindon
    Outstanding performance. Your macro is very speedy which is appreciated. Now my desire job almost 99.99% ok. it will be very helpful if the desire output I get in the “output” sheet, it is required because after retrieving desire fault code then I will be vlookup from sheet “faultsheet” so that I will get the meaning of actual fault code. Please check the attachment.
    In your output results: “MO TYPE” is missing , other than all are ok..
    Please Login or Register  to view this content.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,560

    Re: How to retrieve desire text from input sheet to output sheet ?

    Edit;

    Missed "MO type"
    Please Login or Register  to view this content.
    Last edited by jindon; 02-08-2013 at 10:19 AM.

  7. #7
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: How to retrieve desire text from input sheet to output sheet ?

    Hi, jindon
    Just Great. My requirement is 100% fulfillment. The speed of your macro is extremely first which was unexpected !!. now I am very much happy to get the macro. I will be more happy if I can implement vlookup macro in between Output sheet & faultlist sheet . if you have time then you can help me , other then I will Do my job by formula.Then it will look like worst as partial macro & partial formula. I think you understand me ..take care..

    "Output" sheet will be like below
    Please Login or Register  to view this content.
    above red marks is done by vlookup from below sheet "faultlist"
    Please Login or Register  to view this content.

  8. #8
    Valued Forum Contributor
    Join Date
    08-29-2012
    Location
    In lockdown
    MS-Off Ver
    Excel 2010 (2003 to 2016 but 2010 for choice)
    Posts
    1,766

    Re: How to retrieve desire text from input sheet to output sheet ?

    Quote Originally Posted by nur2544 View Post
    I will be more happy if I can implement vlookup macro in between Output sheet & faultlist sheet
    Hello nur2544,

    I wasn't sure if you wanted the values only or if you intended to have the VLOOKUP formulas in the final result? (I have worked out the code for values only result but it's currently commented out).

    I have created something that mostly works. See the attached file. (I say "mostly" because I am not happy about it for the following reasons:
    1. It requires a custom column in your faultlist tab (I have added this)
    2. It returns 0 values if there is no lookup value found
    3. It can't handle multiple fault codes (e.g. row 10 in the output tab)
    4. The code I created is not to the standard I would like (it's very sloppy because it was rushed together in a few minutes mainly by using Macro Recorder)


    I can easily fix the second point if you tell me what you want instead of 0.
    I can't think of a solution to fix the third point at the moment.
    Attached Files Attached Files
    Last edited by mc84excel; 02-11-2013 at 09:52 PM. Reason: punctuation

  9. #9
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,560

    Re: How to retrieve desire text from input sheet to output sheet ?

    Quote Originally Posted by nur2544 View Post
    I will be more happy if I can implement vlookup macro in between Output sheet & faultlist sheet .
    Missed that one.
    All in one.
    Change to
    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: How to retrieve desire text from input sheet to output sheet ?

    Hi, jindon
    Brilliant job, Just outstanding performance. every day I would spend more than one hour to make the fault report, but your macro takes only few second to get the report & which one is the 100 % accurate. I am really very happy to get the wonderful macro. Thanks you very much for saving my valuable time. Keep faith on me , yes obviously I will not forget your help….
    Take care & wishing you very healthy life….

  11. #11
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    633

    Re: How to retrieve desire text from input sheet to output sheet ?

    Hi, mc84excel
    Thanks for your time, your idea & my idea are same & that is done by vlookup. But it is just slow as I have lots of data to work . & for this I am going to use jindon’s macro as its speed is extremely fast !!

  12. #12
    Valued Forum Contributor
    Join Date
    08-29-2012
    Location
    In lockdown
    MS-Off Ver
    Excel 2010 (2003 to 2016 but 2010 for choice)
    Posts
    1,766

    Re: How to retrieve desire text from input sheet to output sheet ?

    Quote Originally Posted by nur2544 View Post
    I am going to use jindon’s macro as its speed is extremely fast !!
    No problem nur2544. I only offered a partial solution anyway (the row 10 problem).

    Just pleased to hear that your problem has been solved. (It can get very frustrating when you start a thread and you don't receive any solutions or suggestions!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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