Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 6
Default subtotals based on font colour

Hi, can some one help me to do subtotals in an excel column, based on font colour. (There is more than one colour in my sheet)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default subtotals based on font colour

As well as lots of notes about counting and sorting with colours, Chip
Pearson has a free download which incorporates the functions described
he

http://www.cpearson.com/excel/colors.aspx

Hope this helps.

Pete

On Jun 29, 4:11*pm, sebyjohn73
wrote:
Hi, can some one help me to do subtotals in an excel column, based on
font colour. (There is more than one colour in my sheet)

--
sebyjohn73


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default subtotals based on font colour

See Chip Pearson's site for Function(s) to detect font and background colors.

http://www.cpearson.com/excel/colors.aspx


Gord Dibben MS Excel MVP

On Sun, 29 Jun 2008 16:11:22 +0100, sebyjohn73
wrote:


Hi, can some one help me to do subtotals in an excel column, based on
font colour. (There is more than one colour in my sheet)


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default subtotals based on font colour

Hi,

Once the color numbers are determined (using the macro below), you can then
use the sumif worksheet function to subtotal by color.

The following macro assumes that you have a blank column next to the numbers
with different font colors, and that you have activated the first cell in the
range of numbers.

Sub ColorNumber()

x = ActiveCell.Row
y = ActiveCell.Column

Do While Cells(x, y).Value < ""

ActiveCell.Offset(0, 1) = ActiveCell.Font.Color
ActiveCell.Offset(1, 0).Activate
x = x + 1

Loop

End Sub

- Peggy

"sebyjohn73" wrote:


Hi, can some one help me to do subtotals in an excel column, based on
font colour. (There is more than one colour in my sheet)




--
sebyjohn73

  #5   Report Post  
Junior Member
 
Posts: 6
Default

Thank you very much

regards, seby
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
sumif - I wish to add cells based on the font/fill colour Pev Excel Worksheet Functions 3 April 13th 08 12:31 AM
Changing Font color based on font type or size John Excel Discussion (Misc queries) 2 February 7th 08 12:50 AM
Insert text based on another cell's colour or font in Excel 2003 Philip Hinton Excel Discussion (Misc queries) 3 December 5th 07 12:48 AM
Insert text based on another cell's colour or font in Excel 2003 Philip Hinton Excel Worksheet Functions 3 December 5th 07 12:48 AM
Pulling out data based on font colour terryc Excel Discussion (Misc queries) 1 July 3rd 06 09:51 PM


All times are GMT +1. The time now is 11:03 AM.

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"