Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Sum of Highlighted values

Is there any way I can perform calculation on the basis of cell formatting
such as get the sum of highlighted cells

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Sum of Highlighted values

http://xldynamic.com/source/xld.ColourCounter.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Khusro" wrote in message
...
Is there any way I can perform calculation on the basis of cell formatting
such as get the sum of highlighted cells


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Sum of Highlighted values

How are the cells highlighted, is it conditional formatting or a fill colour?
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Khusro" wrote:

Is there any way I can perform calculation on the basis of cell formatting
such as get the sum of highlighted cells

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default Sum of Highlighted values

Sub sumselection()'non-contiguous assign to button or shape
MsgBox Application.Sum(Selection)
End Sub

'below ONLY if a contiguous selection.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
MsgBox Application.Sum(Selection)
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Khusro" wrote in message
...
Is there any way I can perform calculation on the basis of cell formatting
such as get the sum of highlighted cells


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 277
Default Sum of Highlighted values

On Sun, 24 Jan 2010 12:41:15 -0600, "Don Guillett"
wrote:

I probably misread the post but this may still be useful



He does know about the stats given on the status bar at the bottom of
the currently selected widow, right?
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
Highlighted cell Reen[_2_] New Users to Excel 1 November 3rd 08 10:11 PM
Can't see highlighted selections Rick S. Setting up and Configuration of Excel 3 November 13th 07 09:53 PM
Highlighted ED New Users to Excel 5 April 13th 06 09:31 PM
Highlighted row number I_am_a_MS_user New Users to Excel 4 October 11th 05 03:30 AM
Spreadsheet Highlighted JustAsking Setting up and Configuration of Excel 2 August 30th 05 05:38 AM


All times are GMT +1. The time now is 06:45 PM.

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

About Us

"It's about Microsoft Excel"