+ Reply to Thread
Results 1 to 4 of 4

Process excel file for rows having value Yes in field 17

  1. #1
    Forum Contributor
    Join Date
    02-23-2013
    Location
    Bangalore
    MS-Off Ver
    2010
    Posts
    130

    Process excel file for rows having value Yes in field 17

    Hi All,

    I have an excel file with bunch of data and in which column 17 will have values Yes or No. Now I need to process rows having values Yes and leave the rows having value No in column 17. What logic I can use to process only column with value Yes??

    Thanks.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Process excel file for rows having value Yes in field 17

    You can do it several ways depending on what you mean by "Process rows".

    Process = remove rows to a separate sheet....

    Use the Data > Filter on that dataset, filter that column for "YES" and all the other rows will be hidden. Now you can cut all the visible rows all at the same time and paste them on another sheet.


    Process = do something to each row

    A macro will need to be constructed to loop through each used cell in column 17 and "do your process" on that row, whatever that is.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    02-23-2013
    Location
    Bangalore
    MS-Off Ver
    2010
    Posts
    130

    Re: Process excel file for rows having value Yes in field 17

    Thanks JBeaucaire.. Did as u explained and got the results

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Process excel file for rows having value Yes in field 17

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Extract Field From ZIP.txt file Using Excel...
    By StruglnPP in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-22-2012, 11:38 PM
  2. Script to fetch PDF file from Outlook and process it to Excel.
    By neaz1st in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-14-2012, 01:31 PM
  3. Kill a second Excel process from the first excel process
    By sebair in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2012, 05:40 PM
  4. Skipping rows while importing a text file if a field contains 0
    By fgingell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2011, 03:59 PM
  5. Invoke exclusive excel process on opening this file
    By JB2005 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-06-2005, 03:05 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