+ Reply to Thread
Results 1 to 2 of 2

Tricky Q for a clever guy/gal

  1. #1
    Registered User
    Join Date
    09-02-2008
    Location
    Fochville
    Posts
    3

    Tricky Q for a clever guy/gal

    Hi guys,

    I have a excel document with several If statements. Everything I have figured out so far. But now I am sitting with a problem. The 1 sheet is about 10 - 15 pages long with info that has to be filled in (it's a compliance audit that the company will be doing)

    Now they can score 1/2/3 with the compliance. Also the compliance itself is a A/B/C

    The score is worked out as follow:

    Compliance Score * Compliance Level

    So it is 1/2/3 * A/B/C (where A=3, B=2, C=1)

    This has been done. It also give you the total score out of the total compliance per section and an overall score.

    The total for each section will display as follow (using If statements and not conditional formatting):

    It automatically changes colour (to red) if the compliance score is <40%.
    It automatically changes colour (to yellow) if the compliance score is >=40% <80%.
    It automatically changes colour (to green) if the compliance score is =<80%.

    Then I can also extract all the sections to a pre-defined sheet (where all the sections are 1 – 10) and only changes the total value and colour. This is the problem They don’t want the Section value…

    Lets say section one looks like this:

    1. Heading


    1.1 Is it safe in the workplace? 1 A
    1.2 Is it clean In the workplace? 3 A
    1.3 Are the employees neat? 0 C
    1.4 Are the water taps running? 3 C


    So as you can see the cells in red has to be “copied” to an different sheet. The Section number, Section question, Question score and the compliance level has to be “copied.”

    I don’t know how to look for an empty row and use it. If it’s full then go to the row just below that one. If it goes over to section 2 to maybe leave 1 row open and carry on then.

    Is there a VBA thing I can add to do this? Or what should I do?

    Thanks guys
    Attached Files Attached Files
    Last edited by VBA Noob; 09-03-2008 at 02:50 AM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Renvilo,

    Welcome to the forum

    Your other thread was closed for duplicate posting and poor title. Please take 5 mins and read the forum rules below and then amend your title

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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. How do I autofill colors, based on input of text
    By crizzle in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-16-2008, 03:43 PM
  2. Cross Sheet Function
    By gdecaires in forum Excel General
    Replies: 1
    Last Post: 01-01-2008, 04:29 AM
  3. A tricky search and populate question
    By mahones in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2007, 10:04 AM
  4. Pivot: 2 tables of data on diff sheets
    By ck7 in forum Excel General
    Replies: 10
    Last Post: 03-05-2007, 12:08 AM
  5. Tricky formula
    By martins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2007, 07:18 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