PC Review


Reply
Thread Tools Rate Thread

creating a popup answer for an average range of cells

 
 
1zipsails
Guest
Posts: n/a
 
      23rd Aug 2008
How do I Roll over a range of cells and have their average show as a "pop up"?
 
Reply With Quote
 
 
 
 
Barb Reinhardt
Guest
Posts: n/a
 
      24th Aug 2008
This will give you an average for each and every selection you make. I'm
guessing it's going to be obnoxious if someone is changing any data.

Right click on the worksheet to View source. Paste this in

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not IsEmpty(Target) Then
MsgBox ("Average: " & WorksheetFunction.Average(Target.Value))
End If
End Sub

--
HTH,
Barb Reinhardt



"1zipsails" wrote:

> How do I Roll over a range of cells and have their average show as a "pop up"?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to average a range of cells and ignore #div/0! answer Vince Microsoft Excel Misc 4 8th Nov 2009 05:23 AM
Calculate Average with 'x' in Range of Cells ryguy7272 Microsoft Excel Worksheet Functions 11 9th Apr 2009 12:52 AM
average of a range, but only for the cells that contain values Mike C Microsoft Excel Discussion 1 12th May 2008 03:47 AM
How do I average a range of cells when one cell contains #N/A =?Utf-8?B?aG9uZ2tvbmdsdA==?= Microsoft Excel Misc 3 19th Sep 2005 02:13 AM
percent average over range of cells oneleaf2 Microsoft Excel Misc 4 15th Mar 2004 10:55 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:27 AM.