+ Reply to Thread
Results 1 to 8 of 8

Fetch the record

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    461

    Fetch the record

    Hi

    I have an excel contains company in columnA and the count of it columnB. I want to fetch the N companies from the list and the fetched records should be deleted from the list.

    Example: I want to fetch only 5 companies and that 5 companies must be delete in the list.

    Kindly check the attachment

    Thanks & Regards
    M. Sathish Kumar
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Fetch the record

    A formula can't delete a record - you will need a macro to do that.

    Pete

  3. #3
    Forum Contributor
    Join Date
    07-17-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    461

    Re: Fetch the record

    Could you please help me to do it?

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Fetch the record

    I meant that you had posted under the Formulas forum, but you can't use a formula for what you want to do. There is a separate forum for macros and VBA, so it would be better to post there, or ask a moderator to move the thread for you.

    Pete

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Fetch the record

    ask a moderator to move the thread for you
    No need to ask, done.

  6. #6
    Forum Contributor
    Join Date
    07-17-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    461

    Re: Fetch the record

    If it s unable to delete, at least I want to fetch only the record containing more than 5 companies.

  7. #7
    Forum Contributor bonny24tycoon's Avatar
    Join Date
    04-02-2012
    Location
    Hell
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    405

    Re: Fetch the record

    Would the 5 company names keep changing from scenario to scenario??
    Thanks,

    Bonny Tycoon


  8. #8
    Forum Contributor
    Join Date
    07-17-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    461

    Re: Fetch the record

    The companies will be changing often. First let me know any solution is there to fetch only 5 records

+ 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