Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 63
Default I'm looking to add cells (that are formated in %) in them.

a1 has 10%
a2 has 30%
a3 has 10%
a4 has 20%
a5 has 5%
a6 has 15%
a7 has 10%

a8 needs to be ONLY "100%" total the above percentages or default to red in
color if below 100%
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default I'm looking to add cells (that are formated in %) in them.

=Sum(A1:A7)

Do you want to turn the fill color red or the font color red? If the
former, try conditional formatting (Format/Conditional Formatting). If the
latter, try a custom number format (Format/Cells/Custom)

[Red][<1](0%);0%


"j5b9721" wrote:

a1 has 10%
a2 has 30%
a3 has 10%
a4 has 20%
a5 has 5%
a6 has 15%
a7 has 10%

a8 needs to be ONLY "100%" total the above percentages or default to red in
color if below 100%

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default I'm looking to add cells (that are formated in %) in them.

when you say "ONLY" 100%, is it possible the sum of A1:A7 could be greater
than 1? If so, maybe you want:

=MIN(SUM(A1:A7),1)

Your example totals 100%, so I'm not sure I'm following you.



"j5b9721" wrote:

a1 has 10%
a2 has 30%
a3 has 10%
a4 has 20%
a5 has 5%
a6 has 15%
a7 has 10%

a8 needs to be ONLY "100%" total the above percentages or default to red in
color if below 100%

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 63
Default I'm looking to add cells (that are formated in %) in them.

Thank You JMB!!!! Your a life saver!!!

"JMB" wrote:

=Sum(A1:A7)

Do you want to turn the fill color red or the font color red? If the
former, try conditional formatting (Format/Conditional Formatting). If the
latter, try a custom number format (Format/Cells/Custom)

[Red][<1](0%);0%


"j5b9721" wrote:

a1 has 10%
a2 has 30%
a3 has 10%
a4 has 20%
a5 has 5%
a6 has 15%
a7 has 10%

a8 needs to be ONLY "100%" total the above percentages or default to red in
color if below 100%

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 63
Default I'm looking to add cells (that are formated in %) in them.

up to 100% works fine and changes to red below 100%, but if the total is over
it stays at 100% and black.
I need it to stay red over or under 100%, but to default to black on 100%
only,
and the percentage to be correct either under or over 100%...

Is this possable???
Joe


"JMB" wrote:

=Sum(A1:A7)

Do you want to turn the fill color red or the font color red? If the
former, try conditional formatting (Format/Conditional Formatting). If the
latter, try a custom number format (Format/Cells/Custom)

[Red][<1](0%);0%


"j5b9721" wrote:

a1 has 10%
a2 has 30%
a3 has 10%
a4 has 20%
a5 has 5%
a6 has 15%
a7 has 10%

a8 needs to be ONLY "100%" total the above percentages or default to red in
color if below 100%



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default I'm looking to add cells (that are formated in %) in them.

Try using:
=Sum(A1:A7)

and this custom number format
[Black][=1]0%;[Red]0%



"j5b9721" wrote:

up to 100% works fine and changes to red below 100%, but if the total is over
it stays at 100% and black.
I need it to stay red over or under 100%, but to default to black on 100%
only,
and the percentage to be correct either under or over 100%...

Is this possable???
Joe


"JMB" wrote:

=Sum(A1:A7)

Do you want to turn the fill color red or the font color red? If the
former, try conditional formatting (Format/Conditional Formatting). If the
latter, try a custom number format (Format/Cells/Custom)

[Red][<1](0%);0%


"j5b9721" wrote:

a1 has 10%
a2 has 30%
a3 has 10%
a4 has 20%
a5 has 5%
a6 has 15%
a7 has 10%

a8 needs to be ONLY "100%" total the above percentages or default to red in
color if below 100%

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
Don't Want to Print Formated Blanked Out Cells GPIE Excel Discussion (Misc queries) 1 March 15th 07 04:09 PM
CONCATENATE Cells Formated as fractions Northcoast Excel Worksheet Functions 4 April 27th 06 05:24 PM
Cells formated as text do not always display properly Cass Excel Discussion (Misc queries) 2 July 23rd 05 01:59 AM
hh:mm - mm formated 2 round to .25, .50, .75 & 1 Laurie Excel Worksheet Functions 5 July 19th 05 05:31 PM
Cells formated as numbers are calculating like text MM_BAM Excel Discussion (Misc queries) 4 July 7th 05 01:29 AM


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