Consulting

Results 1 to 3 of 3

Thread: Comparing data against table of values to output new data.

  1. #1
    VBAX Regular
    Joined
    May 2009
    Posts
    46
    Location

    Question Comparing data against table of values to output new data.

    Hi guyz,
    The title is most probably really confusing so ill just give a quick run down of what i really need. Sample data is attached.

    Sheet 1 - Enter Marks
    Sheet 2 - Moderation Comparison
    Sheet 3 - Moderated marks (output)

    Data is inputted into sheet 1. The marks for each respective subject need to be compared against the table in sheet 2. This new mark is then to be outputted in the respective columns in sheet 3.

    Specific things needed: (text colour green in sample sheet for easier reference)

    If a subject contains the word 'accelerant' then for that name entry a comparison shouldn't be made and the original mark should be kept as the output mark. E.g. Chemistry

    If there are mutliples of a subject for 1 entry, e.g. 2 physics then it should return a pop-up error (stating for which name entry this occured). If this is not possible, then in sheet 3 for the mark it should read 'check'. An example of this is in sheet 3 for the last entry in the sample data.

    If for the comparison there is no comparison mark in sheet 2 to compare the sheet 1 mark against, then the output mark in sheet 3 for that entry should read 'check'.

    Crosspost at: http://www.thecodecage.com/forumz/ex...urn-value.html

    Thankyou guyz for your help.
    Last edited by iMAN2; 06-02-2009 at 03:31 AM.

  2. #2
    VBAX Regular
    Joined
    May 2009
    Posts
    46
    Location
    updated file.

  3. #3
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    You should post in the other site that you have also posted here. As you have an ongoing discussion there, it seems premature and probably confusing to have further input from a separate source.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •