+ Reply to Thread
Results 1 to 3 of 3

excel 2003 query criteria field value help

  1. #1
    Registered User
    Join Date
    08-06-2008
    Location
    nottingham
    Posts
    4

    excel 2003 query criteria field value help

    hello can someone please help

    i use a SAP like system at work that has a database i can run in excel using the mircosoft query.
    i have a worksheet that looks at all the items that i have sold over the last 12months.

    it shows
    current stock qty
    12 months sales
    month by month break down
    average over the last 12 months
    min order qty
    max order qty

    what i would like to do is to have the query to filter a criteria based on where the average is less than the min order qty (high lighting that the min stock levels are to high)

    average (field) less than min qty (field)

    i know i could do a auto filter on excel but that okay for me but not for non excel users.
    i hope this makes some sort of sense (it does in my head)

  2. #2
    Forum Contributor
    Join Date
    10-16-2008
    Location
    Iowa
    Posts
    121
    In a new column, I did a quick IF statement returning a 1 if avg was less than min (=IF(avg<min,1,""), then filtering on all cells with a "1" in them.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-06-2008
    Location
    nottingham
    Posts
    4
    thank you for your help but i was hoping to be able to run this in the query
    as the results run into the thousands

+ 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. Web query / RSS - browsing in Excel?
    By jwhitwell in forum Excel General
    Replies: 0
    Last Post: 08-11-2008, 09:58 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. Installing Excel 2007 and keeping Excel 2003
    By secmaster420 in forum Excel General
    Replies: 4
    Last Post: 11-08-2007, 04:09 PM
  4. Excel query and parameters
    By urbanmojo in forum Excel General
    Replies: 1
    Last Post: 07-23-2007, 12:17 AM
  5. Excel 2003 Not Excelling in Handling 2000 .xls File
    By pands in forum Excel General
    Replies: 4
    Last Post: 02-27-2007, 05:56 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