+ Reply to Thread
Results 1 to 2 of 2

Find Average of different columns and colour code it

  1. #1
    Registered User
    Join Date
    01-17-2014
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    4

    Find Average of different columns and colour code it

    Hi All,

    I have the following code to go through various values in a column and colour code them.
    However I am facing two issues here:
    1. I need to generalize the code such that it runs through column G till column S in different worksheets
    2. Few columns between G and S do not have any data and the code is getting stuck at the line below:
    myResult = WorksheetFunction.Average(Range("G:G"))

    Please Login or Register  to view this content.
    Thanks in advance for your help!
    Last edited by Johnty; 02-28-2014 at 02:39 AM.

  2. #2
    Registered User
    Join Date
    01-17-2014
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Find Average of different columns and colour code it

    Hi Guys,

    Can anyone help me with the issue above?

+ 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. Replies: 1
    Last Post: 04-19-2013, 08:30 PM
  2. Replies: 7
    Last Post: 01-15-2013, 04:45 PM
  3. Do Until / Loop code to find max value in many adjacent columns?
    By vcchin in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-20-2010, 08:10 PM
  4. Find average of columns totaled using datedif?
    By mattm1 in forum Excel General
    Replies: 14
    Last Post: 02-09-2009, 08:03 PM
  5. [SOLVED] UDF code to find specific text in cell comments, then average cell values
    By bruch04 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2005, 06:10 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