Results 1 to 3 of 3

IF Statement to lookup specific values in a field and also a count with multiple criteria

Threaded View

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    London
    MS-Off Ver
    2007
    Posts
    36

    IF Statement to lookup specific values in a field and also a count with multiple criteria

    Hi Access pro heads, This site has helped me immensely improve my Excel but now that I have been driven to develop an Access database, which i have never ever used, I am struggling with getting to grips with the querying and expressions despite the tutorial courses.

    I have uploaded an employee database that logs their tasks. The tasks are ranked in difficulty by Colour and Score.

    I have an employee details main form of all employee records which has a subform showing all the tasks for each employee record selected.

    I need help building an expression to auto populate 3 field boxes on the employee records form which are: Last Supervised, Task Colour and Total Score.

    Q1. Last Supervised: I need this to look up the [Supervised] field in Task Data for any active (viewed) employee, find the latest 'Yes' in that field and return and display the Supervised Date for that latest record.

    Q2. Task Colour: If field [Task Colour] in Task Data for any active (viewed) employee, contains 'Red' and [Status] is Doing then Display 'RED' in task colour, else if 'Yellow' and [Status] is Doing then Display 'Yellow' else Display 'Blue'.

    Q3. Total Score: Total the field [Score] in Task Data for any active (viewed) employee for all records that are Doing status and display this.

    I really hope you could help me with this a I think I'll have a good basis to progress from here...

    Thanks in advance...
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Count statement wtih multiple criteria only showing results for one criteria
    By uhlabomber in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2013, 02:47 PM
  2. [SOLVED] IF Statement with multiple lookup criteria
    By kenadams378 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-16-2013, 10:02 AM
  3. Count values which meet specific criteria
    By araujo3rd in forum Excel General
    Replies: 10
    Last Post: 12-08-2012, 04:45 AM
  4. [SOLVED] How do I use a lookup table to sum values for specific criteria?
    By NJLExcel1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-08-2012, 02:57 PM
  5. Multiple criteria lookup if statement!
    By Buttercup in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-16-2009, 02:39 PM

Tags for this Thread

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