include Difference with Average Count and Sum?

drewg

Board Regular
Joined
Jul 5, 2010
Messages
67
when i right click on the task bar at the very bottom of the workbook, a customize menu appears that lets you toggle what is displayed.
I would like to see the difference between two adjacent cells displayed when that's all thats highlighted, but there is no Difference on the menu.
Can i get difference between two cells on the menu without too much heavy lifting?
thanks very much
drew
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
For the Worksheet you are worknig on, try this in the Sheet Module

Code:
Sub Worksheet_SelectionChange(ByVal Target As Range)
    If Target.Cells.Count = 2 Then
        Application.StatusBar = "Difference = " & _
            WorksheetFunction.Max(Target) - WorksheetFunction.Min(Target)
    End If
    Application.Wait (Now + TimeValue("0:00:02"))  '///  2 second delay before StatusBar returns to normal
    Application.StatusBar = False  ' // You can delete this line and the one above if you want Status to remain
End Sub

If you need it to be a permanent Feature for all workbooks, then I do not know how. Maybe somebody else will know.
 
Last edited:
Upvote 0
it works....thanks very much
is it possible to move it way to the right with the rest of the values?
drew
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,740
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top