#1   Report Post  
philip
 
Posts: n/a
Default counting problem

I have post my question yesterday, seem there is no solution?? Is there
anybody can give me some alternative way to do it, will be greatly appreciate.

my problem is

Is there anyway to count the cell with bolded text (the text is bolded by
conditional format), the criteria is
1- $A1=" " format text to bold
2- $A1=1 format text to color "blue" & "italic"
3- $A1="xx" format text to color "red" & "italic"

will show:-

A B C D...
1 " " P1 P2 (bolded text by CF)
2 " " S1 (bolded text by CF)
3 1 x1
___________________________
count: 2 1


Please HELP

MANY THANKS
philip

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

Since the text is bolded only if the cell contains a space character,
you could use

=SUMPRODUCT(--(A1:A3=" "),--(B1:B3<"")) == 2

=SUMPRODUCT(--(A1:A3=" "),--(C1:C3<"")) == 1





In article ,
philip wrote:

I have post my question yesterday, seem there is no solution?? Is there
anybody can give me some alternative way to do it, will be greatly appreciate.

my problem is

Is there anyway to count the cell with bolded text (the text is bolded by
conditional format), the criteria is
1- $A1=" " format text to bold
2- $A1=1 format text to color "blue" & "italic"
3- $A1="xx" format text to color "red" & "italic"

will show:-

A B C D...
1 " " P1 P2 (bolded text by CF)
2 " " S1 (bolded text by CF)
3 1 x1
___________________________
count: 2 1


Please HELP

MANY THANKS
philip

  #3   Report Post  
philip
 
Posts: n/a
Default

thanks JE Mcgimpsey

It works fine, thank very much, however, in order to make it more perfact,
how can I modify the formula not count the blank space in the cell.

thank again
philip

"JE McGimpsey" wrote:

Since the text is bolded only if the cell contains a space character,
you could use

=SUMPRODUCT(--(A1:A3=" "),--(B1:B3<"")) == 2

=SUMPRODUCT(--(A1:A3=" "),--(C1:C3<"")) == 1





In article ,
philip wrote:

I have post my question yesterday, seem there is no solution?? Is there
anybody can give me some alternative way to do it, will be greatly appreciate.

my problem is

Is there anyway to count the cell with bolded text (the text is bolded by
conditional format), the criteria is
1- $A1=" " format text to bold
2- $A1=1 format text to color "blue" & "italic"
3- $A1="xx" format text to color "red" & "italic"

will show:-

A B C D...
1 " " P1 P2 (bolded text by CF)
2 " " S1 (bolded text by CF)
3 1 x1
___________________________
count: 2 1


Please HELP

MANY THANKS
philip


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
Problem with counting characters in a cell Tink Excel Worksheet Functions 2 June 27th 05 12:52 PM
Excel Display Problem Bill Martin -- (Remove NOSPAM from address) Excel Discussion (Misc queries) 0 April 19th 05 05:25 PM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM
Row Autofit problem Excel 2003 Matthias Klaey Excel Discussion (Misc queries) 0 January 19th 05 05:33 PM
Counting problem again! Connie Martin Excel Worksheet Functions 2 November 2nd 04 06:14 PM


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