PC Review


Reply
Thread Tools Rate Thread

How can I add the values based the color of font and the date

 
 
Peter Gonzalez
Guest
Posts: n/a
 
      14th Apr 2010
Hello,

I wanted to know if it was possible to add the values of cells based on the
color of font. And while doing this I also need it to do it based on the date
in another cell.

Example: Sheet 1
Qty Date
Cell A1 288 (blue) Cell B1 4/13/2010
Cell A2 190 (red) Cell B2 4/13/2010
Cell A3 400 (blue) Cell B3 4/13/2010
" " 350 (red) " " 4/13/2010
" " 540 (blue) " " 4/12/2010
" " 175 (red) " " 4/12/2010
" " 225 (blue) " " 4/12/2010
" " 180 (red) " " 4/12/2010

My result should look like this if possible: Sheet 2
Column A Column B
4/12/2010 Total 765 (blue)
4/13/2010 Total 688 (blue)

Same Sheet 2 example with the (red) font

Your help is appreciated
Thanks,
Peter
 
Reply With Quote
 
 
 
 
Bernard Liengme
Guest
Posts: n/a
 
      16th Apr 2010
That is going to require VBA unless you can give formula that predicts what
number range gets what colour.
See
http://www.cpearson.com/excel/colors.aspx
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Peter Gonzalez" <(E-Mail Removed)> wrote in message
news:2E75E81F-5141-4924-9637-(E-Mail Removed)...
> Hello,
>
> I wanted to know if it was possible to add the values of cells based on
> the
> color of font. And while doing this I also need it to do it based on the
> date
> in another cell.
>
> Example: Sheet 1
> Qty Date
> Cell A1 288 (blue) Cell B1 4/13/2010
> Cell A2 190 (red) Cell B2 4/13/2010
> Cell A3 400 (blue) Cell B3 4/13/2010
> " " 350 (red) " " 4/13/2010
> " " 540 (blue) " " 4/12/2010
> " " 175 (red) " " 4/12/2010
> " " 225 (blue) " " 4/12/2010
> " " 180 (red) " " 4/12/2010
>
> My result should look like this if possible: Sheet 2
> Column A Column B
> 4/12/2010 Total 765 (blue)
> 4/13/2010 Total 688 (blue)
>
> Same Sheet 2 example with the (red) font
>
> Your help is appreciated
> Thanks,
> Peter


 
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
Add values based on text color with the criteria of a date Peter Gonzalez Microsoft Excel Worksheet Functions 7 15th Apr 2010 08:16 PM
Changing Font color based on font type or size John Microsoft Excel Misc 2 7th Feb 2008 12:50 AM
I can't figure out how to add values based on font color. =?Utf-8?B?TGF1cmE=?= Microsoft Excel Misc 1 28th Feb 2006 04:28 PM
Copy Color Formats Based On Column Date Values Naji Microsoft Excel Misc 0 11th Jan 2006 09:06 PM
Changing font color based on the values Amar Microsoft Excel Programming 0 15th Jul 2003 10:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:16 PM.