Example for database functions

From Microsoft Office Spreadsheet Functions