Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dominic
 
Posts: n/a
Default How do you sum just values that are bold in a list of values?

I have a list values and some of the values are bold based on conditional
formatting. How do I sum only the values that are bold within the list of
values.

Thanks
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Enter a SUM or SUMIF formula that uses the same conditions as your CF.
For instance, if your CF is "greater than 10" for A1:A10, then use

=SUMIF(A1:A10, "10")



In article ,
"Dominic" wrote:

I have a list values and some of the values are bold based on conditional
formatting. How do I sum only the values that are bold within the list of
values.

Thanks

  #3   Report Post  
swatsp0p
 
Posts: n/a
Default


One solution would require VBA to analyse the font in each cell.

Another would be to use the same critera in a sumif funtion that is
being used in the Cond. Format. e.g. if your Bold CF is based on
numbers =2 and <4 then:

=SUMIF(J3:J6,"=2")-SUMIF(J3:J6,"=4") would work, returning the total
of all values =2 and <4.

Good Luck

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=466036

  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Unfortunately, there's no access in VBA to the conditionally formatted
font.

In article ,
swatsp0p
wrote:

One solution would require VBA to analyse the font in each cell.

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
VBA to set AutoFilter to List all rows with same values in column? Dennis Excel Discussion (Misc queries) 2 June 24th 05 12:37 AM
Select values from list Bepi Excel Discussion (Misc queries) 2 June 21st 05 11:07 AM
Comparing a value to a list of values does not work in Excel 2003. RagDyer Excel Worksheet Functions 3 March 29th 05 02:12 AM
Extracting Values on one list and not another B Schwarz Excel Discussion (Misc queries) 4 January 7th 05 01:48 PM
Selecting data from a list based on entered values GrantM Excel Discussion (Misc queries) 1 December 20th 04 10:59 AM


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