Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Multiple Sum Functions on status bar

Is there any way to force count & sum to show up on the status bar at
the same time?

If not, can a toolbar be coded, and display those two variables as
calculated by VBA?


Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 301
Default Multiple Sum Functions on status bar

Upgrade to Excel 2007.

"Christopher Kennedy" wrote in message
oups.com...
Is there any way to force count & sum to show up on the status bar at
the same time?

If not, can a toolbar be coded, and display those two variables as
calculated by VBA?


Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Multiple Sum Functions on status bar

Here is one idea

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.DisplayStatusBar = True
On Error Resume Next
Application.StatusBar = "Average=" & Application.Average(Selection) & _
"; " & _
"Count=" & Application.CountA(Selection) & "; " & _
"Count nums=" & Application.Count(Selection) & _
"; " & _
"Sum=" & Application.Sum(Selection) & "; " & _
"Max=" & Application.Max(Selection) & "; " & _
"Min=" & Application.Min(Selection)
End Sub

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Christopher Kennedy" wrote in message
oups.com...
Is there any way to force count & sum to show up on the status bar at
the same time?

If not, can a toolbar be coded, and display those two variables as
calculated by VBA?


Thanks!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 144
Default Multiple Sum Functions on status bar

Bob,

I really would like to have the status bar shouw count and sum at the same
time. I put your code in a sheet module, a normal module and the this
workbook module, but neither gave any result. I still get or sum or count in
the status bar, but not both at the same time. What did I do wrong?

Jack Sons
The Netherlands


"Bob Phillips" schreef in bericht
...
Here is one idea

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.DisplayStatusBar = True
On Error Resume Next
Application.StatusBar = "Average=" & Application.Average(Selection) & _
"; " & _
"Count=" & Application.CountA(Selection) & "; " & _
"Count nums=" & Application.Count(Selection) & _
"; " & _
"Sum=" & Application.Sum(Selection) & "; " & _
"Max=" & Application.Max(Selection) & "; " & _
"Min=" & Application.Min(Selection)
End Sub

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"Christopher Kennedy" wrote in message
oups.com...
Is there any way to force count & sum to show up on the status bar at
the same time?

If not, can a toolbar be coded, and display those two variables as
calculated by VBA?


Thanks!





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple auto sum functions on status bar Christopher Kennedy Excel Discussion (Misc queries) 0 August 17th 07 02:21 PM
Index & Match functions - multiple criteria and multiple results [email protected] Excel Worksheet Functions 4 May 2nd 07 03:13 AM
multiple if functions tam25 Excel Worksheet Functions 4 February 21st 07 08:20 AM
How do I use multiple functions? Dan L. Excel Worksheet Functions 3 December 13th 05 10:09 AM
Multiple IF functions sonicj Excel Worksheet Functions 3 February 2nd 05 03:31 AM


All times are GMT +1. The time now is 10:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"