+ Reply to Thread
Results 1 to 2 of 2

Count records in table based on criteria, select and paste to a new spreadsheet

  1. #1
    Registered User
    Join Date
    07-16-2014
    Location
    Maine
    MS-Off Ver
    8
    Posts
    12

    Question Count records in table based on criteria, select and paste to a new spreadsheet

    I have a ListObject table called Table1, and the column name is Table1[Company]. The records have been sorted A-Z for the Company.

    The records look something like this

    Date Employee Company
    -------------------------------------------
    1/1/11 Jane A Company
    1/1/11 Jane B Company
    3/1/11 Bob B Company
    2/1/11 Bob B Company
    4/1/11 Bob B Company
    5/1/11 Bob C Company


    What I need is a sub() to look in the column of Table1[Company] and determine:

    The # of records that match the criteria given the Company name, and where they start and end. Ultimately, I'd like to copy and paste this portion of the table to another spreadsheet.

    So for instance, if the Company = "B Company", then I could find out there are 4 records and there locations to copy and paste them.

  2. #2
    Registered User
    Join Date
    07-16-2014
    Location
    Maine
    MS-Off Ver
    8
    Posts
    12

    Re: Count records in table based on criteria, select and paste to a new spreadsheet

    Any ideas?

+ 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 select records meeting specific criteria?
    By billj in forum Excel General
    Replies: 6
    Last Post: 02-20-2013, 06:17 AM
  2. [SOLVED] Copy and paste to new spreadsheet based in date and other criteria are met VBA
    By andie2013 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-15-2012, 01:29 PM
  3. [SOLVED] Select Random Records With Multiple Criteria
    By AlexRoberts in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-04-2011, 04:18 AM
  4. copy and paste TRUE records in new spreadsheet
    By clairebelle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-08-2010, 09:18 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