+ Reply to Thread
Results 1 to 2 of 2

Single statement database/range processing with criteria

  1. #1
    DoctorG
    Guest

    Single statement database/range processing with criteria

    Although Excel provides Database processing (DSUM etc) it does so with
    "external" criteria - "external" meaning that they are defined in cells
    outside the Database function.

    I have seen posts that process ranges with really complex criteria defined
    in a single statement. Having all search conditions within the cell statement
    is preferable as far as I am concerned as it results in less messy
    spreadsheets. Can anyone provide links to articles describing ways to process
    ranges/databases with criteria such as the following in a single statement?

    Capitalized words represent Fieldnames (column headings).

    - find in PRICES_DATABASE the PRICE where ITEM = Search_Item and Search_Date
    is >= to PRICE_VALID_FROM and <= to PRICE_VALID_TO

    - sum all AMOUNT in TRANSACTIONS_DATABASE where YEAR = 2006 and TRNS_TYPE =
    "Sales"

    Thanks in advance

  2. #2
    DoctorG
    Guest

    RE: Single statement database/range processing with criteria

    I am closing this thread since I should have posted it under Worksheet
    Functions. Sorry...

+ 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