1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Need VBA to populate auto populate value and cell color

Discussion in 'Business Applications' started by johnm524, May 4, 2010.

Thread Status:
Not open for further replies.
  1. johnm524

    johnm524 Thread Starter

    Apr 22, 2009
    See Attachment. The idea would be to have the user provide the Probability and Impact (Low, Medium, or High) and the Overall Rating would autopopulate with color (red, yellow, green) and the value (1L, 2M, 3H, etc...) from the crosschart. I'm working with 2003 so using conditional formatting is not a viable option. In my actual spreadsheet the Overall Rating is contain in I4:I500

    Attached Files:

  2. Keebellah

    Keebellah Trusted Advisor

    Mar 27, 2008
    First Name:
    Try this

    I just put some code in the worksheet's project
    I count the number of entries in the colum A2:24 and the ones in B2:B4

    the varaiables are hP, mP, lP for probability
    and idem hI, mI and lI for Impact

    See if it means something to you and if you get the right colors, it won''t calculaten until ccount =6 (that means that all the 6 fields contain data and the sum op the h,m , l variables is 9

    The it's just a question of seeing if the conditions are met to color the range.

    Attached Files:

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/921121

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice