+ Reply to Thread
Results 1 to 4 of 4

Excel Query

  1. #1
    Registered User
    Join Date
    08-28-2008
    Location
    Birmingham, AL
    Posts
    2

    Excel Query

    I have an excel sheet with about 22000 companies listed on it with about five or six columns containing various balance sheet data. Could anyone help me get started on writing a macro which could pull in certain companies that fit certain criteria? For example, I would tell it to pull in any companies with <300MM in assets, etc. Any help would be greatly appreciated.

  2. #2
    Registered User
    Join Date
    07-08-2008
    Location
    ny
    Posts
    14
    Why not use the filter option in excel?

    Data>Filter>Autofilter

    click the dropdown menu and select custom and designate what you would like to see

  3. #3
    Registered User
    Join Date
    08-28-2008
    Location
    Birmingham, AL
    Posts
    2
    I thought about that, but I would like to have the database in a separate sheet, and use another to bring in the data.

  4. #4
    Valued Forum Contributor
    Join Date
    08-26-2006
    Location
    -
    MS-Off Ver
    2010
    Posts
    388
    Quote Originally Posted by farlow7 View Post
    I have an excel sheet with about 22000 companies listed on it with about five or six columns containing various balance sheet data. Could anyone help me get started on writing a macro which could pull in certain companies that fit certain criteria? For example, I would tell it to pull in any companies with <300MM in assets, etc. Any help would be greatly appreciated.
    Microsoft Query can do that.

    In Excel 2003 - Data - Import External Data - New Database Query.

+ 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. Excel 2007 : Excel 2007 Pivot Table using SQL Query
    By rbear in forum Excel General
    Replies: 2
    Last Post: 08-27-2008, 11:53 AM
  2. Excel paste link changes after sql query refresh
    By dest in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-08-2008, 03:41 PM
  3. SQL Query from Excel and Date
    By Nasim in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 04-23-2008, 01:44 PM
  4. Excel database/search query
    By nike2008 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-10-2008, 07:43 PM
  5. Excel and Web Query Question?
    By gsmonk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-13-2007, 06:21 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