Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Conditional formatting?

I have rows of different activities listed by description. I now need to
allocate numeric codes to those descriptions. There are about 20 different
codes I need to use. Is it possible to then total those codes on the bottom
PER code (i.e. all codes of 115 total on the bottom in one cell, all codes of
135 total on the bottom in another cell) or do I have to do a separate column
for each code? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,203
Default Conditional formatting?

Look at SUMIF(). If codes in column A and values in column B:
=SUMIF(A1:A100,115,B1:B100)
and then
=SUMIF(A1:A100,135,B1:B100)

You could even have a cell set up to enter the code to total, as enter the
code in C1 and in C2 have a formula like =SUMIF(A:A,C$2,B:B)
We can use whole columns for this to keep from having to continually adjust
the range as long as the SUMIF() formula is not in the same column as the
codes and values.

"m2home" wrote:

I have rows of different activities listed by description. I now need to
allocate numeric codes to those descriptions. There are about 20 different
codes I need to use. Is it possible to then total those codes on the bottom
PER code (i.e. all codes of 115 total on the bottom in one cell, all codes of
135 total on the bottom in another cell) or do I have to do a separate column
for each code? Thanks.

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
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Formatting Conditional Formatting Icon Sets The Rook[_2_] Excel Discussion (Misc queries) 3 March 7th 09 08:48 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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