Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

Excel Question

Thread Tools
 
Old 04-18-2007, 06:01 PM
  #1  
R_Squared
LEVEL UP
Thread Starter
 
R_Squared's Avatar
 
Join Date: Sep 2004
Location: Indianapolis
Posts: 11,426
Likes: 0
Received 1 Like on 1 Post
Default Excel Question

Is there any way to sum up cells if they're distinguished by color? I have a list made, some of which is in colored cells. I just want to be able to keep a running tally of what's colored and what's not, by having a cell that outputs a number for the colored total. Is this even possible or is there an easier way to do this? I hope my question makes sense. h:
Old 04-18-2007, 06:03 PM
  #2  
F22B Prelude
Rachel Bilson
 
F22B Prelude's Avatar
 
Join Date: Oct 2005
Location: South Bend/Walkerton, Ind
Posts: 11,230
Likes: 0
Received 0 Likes on 0 Posts
Default

Post up your spreadsheet
Old 04-18-2007, 06:07 PM
  #3  
R_Squared
LEVEL UP
Thread Starter
 
R_Squared's Avatar
 
Join Date: Sep 2004
Location: Indianapolis
Posts: 11,426
Likes: 0
Received 1 Like on 1 Post
Default

Originally Posted by F22B Prelude
Post up your spreadsheet
I can't..it's personal. Just imagine a spreadsheet with about 7 columns of data and some of the cells are colored to distinguish them from others.
Old 04-18-2007, 06:08 PM
  #4  
F22B Prelude
Rachel Bilson
 
F22B Prelude's Avatar
 
Join Date: Oct 2005
Location: South Bend/Walkerton, Ind
Posts: 11,230
Likes: 0
Received 0 Likes on 0 Posts
Default

Cell Reference
Old 04-18-2007, 06:10 PM
  #5  
R_Squared
LEVEL UP
Thread Starter
 
R_Squared's Avatar
 
Join Date: Sep 2004
Location: Indianapolis
Posts: 11,426
Likes: 0
Received 1 Like on 1 Post
Default

Originally Posted by F22B Prelude
Cell Reference
elaborate?
Old 04-18-2007, 06:13 PM
  #6  
F22B Prelude
Rachel Bilson
 
F22B Prelude's Avatar
 
Join Date: Oct 2005
Location: South Bend/Walkerton, Ind
Posts: 11,230
Likes: 0
Received 0 Likes on 0 Posts
Default

Make a new sheet and link it

=(Sheet1!A1,Sheet1!A2) and so on
Old 04-18-2007, 06:17 PM
  #7  
Misa
Pic Whore
 
Misa's Avatar
 
Join Date: Jul 2004
Location: NJ
Posts: 22,223
Likes: 0
Received 1 Like on 1 Post
Default

Excel doesnt natively support formulas with color....

youll have to use the Excel VBA editor and use/make code similar to this: http://www.cpearson.com/excel/colors.htm
Old 04-18-2007, 06:17 PM
  #8  
F22B Prelude
Rachel Bilson
 
F22B Prelude's Avatar
 
Join Date: Oct 2005
Location: South Bend/Walkerton, Ind
Posts: 11,230
Likes: 0
Received 0 Likes on 0 Posts
Default

But use a plus sign instead of a comma
Old 04-18-2007, 06:18 PM
  #9  
R_Squared
LEVEL UP
Thread Starter
 
R_Squared's Avatar
 
Join Date: Sep 2004
Location: Indianapolis
Posts: 11,426
Likes: 0
Received 1 Like on 1 Post
Default

Ok cool...I'll see what I come up with. :hs:
Old 04-18-2007, 10:22 PM
  #10  
jclau00
Senior Member
 
jclau00's Avatar
 
Join Date: Sep 2002
Location: bay area, cali
Posts: 1,104
Likes: 0
Received 0 Likes on 0 Posts
Default

yeh i have a custom formula that turns cell color into some numeric code. then use sumif formula to add it all up. if you need it, lemme know and i'll get it from work.

actually my formula is from "borrowed" from jani's link above.

Last edited by jclau00; 04-18-2007 at 10:26 PM.




All times are GMT -8. The time now is 01:35 PM.