BrainDump
  Home arrow BrainDump arrow Page 3 - Using Database Functions in Microsoft Exce...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Using Database Functions in Microsoft Excel
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2009-07-23

    Table of Contents:
  • Using Database Functions in Microsoft Excel
  • What is a database in Microsoft Excel?
  • Syntax for database functions and rules for criteria tables
  • Database function examples

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using Database Functions in Microsoft Excel - Syntax for database functions and rules for criteria tables


    (Page 3 of 4 )

    As with any other Excel functions, there is syntax that needs to be properly understood and followed in order for Excel to process those data correctly. We all know that if we are not able to use correct syntax, it can lead to errors or inaccurate results in the spreadsheet.

    The database function syntax is this:

    [database function](database,field,criteria)

    It is impossible to understand without illustrating the syntax using an actual Excel table.

    For the sake of illustration, please refer to the two tables below. The first one is called "criteria table" and the other table (below the criteria table) is the actual database to be analyzed:

    Here are some rules that cover "Criteria Tables."

    1. Criteria tables should always be above the database.
    2. Criteria should be treated as an Excel table, NOT a database.
    3. If you need to query the database, you should use the criteria.
    4. Criteria tables are REQUIRED to query the database.
    5. Criteria tables should be adjusted each time you need to make a unique query to the database. (see examples later)
    6. The column names used in the criteria table should be exactly the same as the database field names (including casing and format).
    7. The number of columns in criteria tables may not be equal to the number of columns used by the database. 
    8. The first row in any criteria table should be the field names.

    More BrainDump Articles
    More By Codex-M


       · very simple presentation but very effective tool
     

    BRAINDUMP ARTICLES

    - Are Microsoft Certifications Worth the Cost ...
    - Microsoft, NSF Open Cloud Computing to Scien...
    - Windows 7 Grabs One-Tenth of Market
    - Windows Mobile 7
    - Commands in WPF
    - Routing Events in WPF
    - Property Value Inheritance and More WPF Conc...
    - Important New Concepts in WPF
    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek