+ Reply to Thread
Results 1 to 25 of 25

Sort out "Fail" Text from Columns

  1. #1
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Question Sort out "Fail" Text from Columns

    Dear Masters,

    I need simple macro for sort out by "Fail" text no.s to another Row.please find sample file.

    Thank you,
    Best Regards.
    Attached Files Attached Files
    Last edited by pvsvprasad; 09-15-2016 at 04:12 AM.

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Sort out "Fail" Text from Columns

    Maybe this

    Please Login or Register  to view this content.
    Kind regards
    Leo

  3. #3
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    Quote Originally Posted by LeoTaxi View Post
    Maybe this
    Kind regards
    Leo
    Dear Master,

    Your Code is really brilliant. Thank you sir.i am adding one column only for counting total "FAIL", please find the sample file for column . this is my final Modification.


    Thanking you sir,
    Best Regards.
    Attached Files Attached Files
    Last edited by pvsvprasad; 09-15-2016 at 04:47 AM.

  4. #4
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Sort out "Fail" Text from Columns

    The it looks like this

    Please Login or Register  to view this content.
    Kind regards
    Leo

  5. #5
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    Quote Originally Posted by LeoTaxi View Post
    The it looks like this

    Kind regards
    Leo
    Thank you very much Master, Now Everything is working well.


    Thank you,
    Best Regards.

  6. #6
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    Quote Originally Posted by LeoTaxi View Post
    The it looks like this
    Dear Master,
    Thank you for providing excellent code.i have tested with my actual data and getting small error at "AI2" Cell, it should be shown as "0" when "AJ2" is empty. and some times showing Debug error if A Column to AD containing data. why showed Debug error?

    please find sample image and file and kindly fix.

    Thanking you sir,
    Best regards.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by pvsvprasad; 09-15-2016 at 05:44 AM.

  7. #7
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Sort out "Fail" Text from Columns

    test like this

    Please Login or Register  to view this content.
    Cheers
    Leo

  8. #8
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    Quote Originally Posted by LeoTaxi View Post
    test like this


    Cheers
    Leo
    Thank you very much sir,

    and some times showing Debug error if A Column to AD containing data. why showed Debug error? kindly observe.

    Thank you,
    Best regards.

  9. #9
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Sort out "Fail" Text from Columns

    i dont have the error,
    can you post the file that give the error ?

  10. #10
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    Quote Originally Posted by LeoTaxi View Post
    i dont have the error,
    can you post the file that give the error ?
    Dear sir,

    Sure sir, Here i have attached error Developed file.Kindly Test with this file.

    Thanking you,
    best regards.
    Attached Files Attached Files
    Last edited by pvsvprasad; 09-15-2016 at 07:41 AM.

  11. #11
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    i think this error caused by "FAIL" Strings at "M" and "O" Columns due to many rows.
    Last edited by pvsvprasad; 09-15-2016 at 02:48 PM.

  12. #12
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Sort out "Fail" Text from Columns

    You can try this code :
    Please Login or Register  to view this content.

  13. #13
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Sort out "Fail" Text from Columns

    where the formula give one error, this code see it as a FAIL

    Please Login or Register  to view this content.
    Kind regards
    Leo

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

    Re: Sort out "Fail" Text from Columns

    Please Login or Register  to view this content.

  15. #15
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    Quote Originally Posted by jindon View Post
    Dear Jindon,

    Thank you for providing. with help of your code values are moved and doubled. i need unique no.s of "FAIL". please find sample file.

    Thanking you,
    Best Regards.
    Attached Files Attached Files

  16. #16
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    Quote Originally Posted by sanram View Post
    You can try this code :
    Dear sir,

    Thank you for providing your nice code. everything is ok. but at AJ4 values are developed as double. please find sample file and make a small correction please.

    Thanking you,
    Best regards.
    Attached Files Attached Files

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

    Re: Sort out "Fail" Text from Columns

    Please Login or Register  to view this content.

  18. #18
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    Quote Originally Posted by LeoTaxi View Post
    where the formula give one error, this code see it as a FAIL
    Kind regards
    Leo
    Dear sir,
    Thank you for Modification,

    while running code produced un even values. kindly find my sample file requirement and make a suitable minor tweaks.

    Thanking you,
    Best Regards.
    Attached Files Attached Files

  19. #19
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    Quote Originally Posted by jindon View Post


    Dear Jindon,

    Your code is exactly worked. only AI Column values missing. these AI column values are counting of AJ column counting no.s. please add AI output. rest of your code is perfect.

    Thanking you,
    Best Regards.
    Last edited by pvsvprasad; 09-16-2016 at 12:01 AM.

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

    Re: Sort out "Fail" Text from Columns

    Please Login or Register  to view this content.
    To
    Please Login or Register  to view this content.

  21. #21
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Sort out "Fail" Text from Columns

    See code in #13


    Kind regards
    Leo
    Attached Files Attached Files

  22. #22
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Sort out "Fail" Text from Columns

    With errors in formula


    Please Login or Register  to view this content.
    Kind regards
    Leo
    Attached Files Attached Files

  23. #23
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Sort out "Fail" Text from Columns

    A small correction in my code will do this too :
    Please Login or Register  to view this content.

  24. #24
    Forum Contributor
    Join Date
    12-16-2013
    Location
    World
    MS-Off Ver
    Excel 2007
    Posts
    215

    Re: Sort out "Fail" Text from Columns

    Quote Originally Posted by sanram View Post
    A small correction in my code will do this too :
    Thank you for your kind help,

    please solve my another post. http://www.excelforum.com/excel-prog...-criteria.html

    Thanking you,
    Best regards.

  25. #25
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: Sort out "Fail" Text from Columns

    You are welcome and thanks for the rep.

+ 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. How to make a cell display "FAIL" when range of cells is FAIL
    By crazychile in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-18-2017, 04:13 PM
  2. Replies: 1
    Last Post: 08-15-2014, 06:00 AM
  3. Update Macro to search column Bfor "Fail" and "Exception"
    By programct in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2014, 02:32 PM
  4. Date format of just "st" "nd" "rd" and "th" with text included
    By notrandom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2013, 05:45 PM
  5. [SOLVED] Formula needed to display "Pass" or "Fail" if a column contains any values other than "yes
    By andreindy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2013, 05:49 PM
  6. filter/sort between "text" cells and "general" cells
    By tiger10012 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-05-2013, 03:36 PM
  7. How can i copy value from "HTMLText"(EMBED("Forms.HTML:Text","")),using Macro
    By andrewyang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2010, 12:47 AM

Tags for this Thread

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