+ Reply to Thread
Results 1 to 6 of 6

Delete rows once the two criteria are met

Hybrid View

lakh4u2001 Delete rows once the two... 07-31-2014, 01:32 AM
:) Sixthsense :) Re: Delete rows once the two... 07-31-2014, 01:36 AM
lakh4u2001 Re: Delete rows once the two... 07-31-2014, 02:06 AM
sktneer Re: Delete rows once the two... 07-31-2014, 02:10 AM
lakh4u2001 Re: Delete rows once the two... 07-31-2014, 02:47 AM
lakh4u2001 Re: Delete rows once the two... 07-31-2014, 03:49 AM
  1. #1
    Registered User
    Join Date
    12-26-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    6

    Delete rows once the two criteria are met

    Hello MR. Excel ,

    Please help me delete rows if two conditions are met .THe sample data looks as shown below:

    I need to check for a given resource where the allocation hours are highest against which project , and then delete the rest of the rows for that resource records.If the Allocation hours are the same , then the priority column should be considered the highest priority should be included and the rest to be deleted.And if the priority is also the same then need just one record to remain rest of the rows to be deleted.I have priority of business area ranging from

    Resource Name Resource ID Project Name Business area priority Allocation hours
    Lavanya 123243 Marketing Sales 1 45
    Lavanya 123243 Sales Sales 1 150
    Mukund 5678 Re engineering Retail 2 10
    Mukund 5678 Streamlining Generic 9 90
    Mukund 5678 documnentation Documentation 8 50

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Delete rows once the two criteria are met

    Make use of Remove Duplicate from Data Menu


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    12-26-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Delete rows once the two criteria are met

    hello sir ,

    Will that take care of allocation hours , priority of each record ?doesnt seem to be the case

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Delete rows once the two criteria are met

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Registered User
    Join Date
    12-26-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Delete rows once the two criteria are met

    sAMPLE.xlsx


    I have given the input and output in the same sheet , kindly take a look and advise .I have around 4000 rows of info in my worksheet if you can help me it would be great .

  6. #6
    Registered User
    Join Date
    12-26-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Delete rows once the two criteria are met

    Hello Sir ,
    There will be blanks also in allocation hours column , then the record that needs to get populated would be based on priority.Again if the same priority is repeating any one records has to be selected.

+ 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] how to delete delete rows with criteria and keeping formula
    By Bremmah in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2013, 07:09 AM
  2. [SOLVED] Delete certain rows with criteria
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-28-2012, 01:22 PM
  3. Delete rows if criteria met
    By Schofield in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-05-2010, 02:27 AM
  4. vba to delete rows if criteria not met
    By peterkiukas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2007, 03:40 AM
  5. Delete rows with different criteria
    By John in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-13-2005, 01:05 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