Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default sumif color cells with same month

My file have two columns A - Month B - Amount
I will change the color to red of certain cells in column B
Can I use the sumif function to total column B of those cells with same
month and color red ?

Many thanks
eva cheng
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 457
Default sumif color cells with same month

You can't sum by color (is there some criteria you could use, such as
greater than x value?), but you can sum by month like this:
=SUMPRODUCT(--(TEXT(A2:A100,"mmm")="Apr"),B2:B100)

--
Best Regards,

Luke M
"eva cheng" wrote in message
...
My file have two columns A - Month B - Amount
I will change the color to red of certain cells in column B
Can I use the sumif function to total column B of those cells with same
month and color red ?

Many thanks
eva cheng



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default sumif color cells with same month

Dear Eva,


Yes you can.
For "sumif" function it's necessary however that in addition to coloring the
cells you add an additional cell with the color name. See for further details:

http://www.officearticles.com/excel/...ft_excel.h tm


Hope to have helped :)

Rgrds,
Kristiina

--
I help with Excel and PowerPoint
Office ToDo
http://www.officetodo.com

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 by month and year Josh Hendrickson[_2_] Excel Worksheet Functions 7 March 30th 09 09:56 PM
SUMIF with only Month Tufail Excel Worksheet Functions 6 June 4th 06 03:50 PM
How do I set up 12-month rolling month cells in excel? jbh Excel Discussion (Misc queries) 2 November 30th 05 08:12 PM
SUMIF & MONTH() ? thornomad Excel Discussion (Misc queries) 4 October 5th 05 11:54 AM
sumif date is in certain month AKM Excel Worksheet Functions 1 May 11th 05 06:22 PM


All times are GMT +1. The time now is 04:27 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"