+ Reply to Thread
Results 1 to 2 of 2

Display (different) warnings if any cells in certain columns meet criteria

  1. #1
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    Display (different) warnings if any cells in certain columns meet criteria

    I need something that would look in specific columns and throw (Seperate message box) warnings, and highlight offending cells (seperate) colors if cells values meet any of the following criteria:


    If values of any cells in columns C, D and E have ANYTHING other than a number or a decimal point in it then:

    msgbox "bla bla bla"
    highlight offending cells orange

    If values of any cells in columns C, D and E are less than one (but greater than zero), then:

    msgbox "more bla bla"
    highlight offending cells yellow

    If values of any cells in columns C, D and E are zero, or blank entirely, then:

    msgbox "bla bla bla bla"
    highlight offending cells red

    If values of any cells in columns C, D and E meet MORE than one of the criteria above, then:

    msgbox "bla bla bla"
    highlight offending cells purple


    Please note that these warnings should ignore the header row (row 1) and the second row as well.

    Fortunately, the data will always be in columns C, D and E due to a preceding macro that organizes the columns uniformly for future macros to work properly.

    Thanks!
    Last edited by ks100; 12-23-2013 at 02:53 PM.

  2. #2
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    Re: Display (different) warnings if any cells in certain columns meet criteria

    Bump, hoping for an answer.

+ 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. Trying to countif 2 columns meet different criteria
    By ediancoc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-07-2013, 03:37 PM
  2. sum across worksheets if contents of two columns meet criteria
    By annazet in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-16-2013, 09:24 AM
  3. Display a list of people who don't meet certain criteria in a new work sheet.
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-03-2012, 06:52 AM
  4. SumIf two columns meet criteria
    By adam2308 in forum Excel General
    Replies: 3
    Last Post: 11-22-2009, 10:32 AM
  5. count rows that meet two criteria in two different columns?
    By dsk3808 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-28-2006, 04:20 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