I wish to insert some key parameters such as average, minimum, and maximum values of a range G (column G) in the same ACTIVE workbook as follows. The number of rows in G may differ from file to file. All files have only one sheet, so we are concerned with the active worksheet only.
Cell J30 Put maximum value
Cell K30 Put cell address of max value
Cell L30 Put Roundup of max value (roundup to nearest 10's)
Cell J31 Put minimum value
Cell K31 Put cell address of min value
Cell L31 Put Rounddown of min value (rounddown to nearest EVEN whole number)
Cell J32 Put average value
Additionally, I would like the cell addresss of minimum. maximum, and average values to be highlighted in different colors.
Any help to devise such a MACRO would be welcome.
Bookmarks