Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Annette
 
Posts: n/a
Default Count # of "alt+0242" in cell

I need a formula that will count the number of occurences the above is found
in a row. Sometimes this will appear more than once in a cell. (They are
wingdings checkmark or the character 'u' with two dots above - just provided
the ascii code above (all are the same)).

Thanks!

Annette


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Umlas
 
Posts: n/a
Default Count # of "alt+0242" in cell


=SUMPRODUCT(N(CHAR(242)=MID(A1,ROW(1:255),1)))
Bob Umlas
Excel MVP

"Annette" wrote in message
...
I need a formula that will count the number of occurences the above is

found
in a row. Sometimes this will appear more than once in a cell. (They are
wingdings checkmark or the character 'u' with two dots above - just

provided
the ascii code above (all are the same)).

Thanks!

Annette




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default Count # of "alt+0242" in cell

Very interesting. FWIW, I made the following modification as it looked like
the OP wanted the entire row. I tried the original formula both normally
entered and array entered and it only seemed to use A1. The modified formula
does not need to be array entered.

=SUMPRODUCT(N(CHAR(242)=MID(1:1,ROW(1:255),1)))

Seemed to work for me. Hmm, that's also interesting. I put A1:IV1 and I
just noticed that Excel changed it to 1:1. BTW, I recently read an article
you wrote on array formulas (a link to which I found on Dick's blog.) Very
informative article. Thanks.

--
Kevin Vaughn


"Bob Umlas" wrote:


=SUMPRODUCT(N(CHAR(242)=MID(A1,ROW(1:255),1)))
Bob Umlas
Excel MVP

"Annette" wrote in message
...
I need a formula that will count the number of occurences the above is

found
in a row. Sometimes this will appear more than once in a cell. (They are
wingdings checkmark or the character 'u' with two dots above - just

provided
the ascii code above (all are the same)).

Thanks!

Annette





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Annette
 
Posts: n/a
Default Count # of "alt+0242" in cell

This one worked ... THANKS!

(yes .. I was yelling!)

"Kevin Vaughn" wrote in message
...
Very interesting. FWIW, I made the following modification as it looked
like
the OP wanted the entire row. I tried the original formula both normally
entered and array entered and it only seemed to use A1. The modified
formula
does not need to be array entered.

=SUMPRODUCT(N(CHAR(242)=MID(1:1,ROW(1:255),1)))

Seemed to work for me. Hmm, that's also interesting. I put A1:IV1 and I
just noticed that Excel changed it to 1:1. BTW, I recently read an
article
you wrote on array formulas (a link to which I found on Dick's blog.)
Very
informative article. Thanks.

--
Kevin Vaughn


"Bob Umlas" wrote:


=SUMPRODUCT(N(CHAR(242)=MID(A1,ROW(1:255),1)))
Bob Umlas
Excel MVP

"Annette" wrote in message
...
I need a formula that will count the number of occurences the above is

found
in a row. Sometimes this will appear more than once in a cell. (They
are
wingdings checkmark or the character 'u' with two dots above - just

provided
the ascii code above (all are the same)).

Thanks!

Annette







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson
 
Posts: n/a
Default Count # of "alt+0242" in cell

I would amend the formula to use the INDIRECT formula to prevent
the row references from changing if you insert rows.

=SUMPRODUCT(N(CHAR(242)=MID(1:1,ROW(INDIRECT("1:25 5")),1)))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Kevin Vaughn" wrote in
message
...
Very interesting. FWIW, I made the following modification as
it looked like
the OP wanted the entire row. I tried the original formula
both normally
entered and array entered and it only seemed to use A1. The
modified formula
does not need to be array entered.

=SUMPRODUCT(N(CHAR(242)=MID(1:1,ROW(1:255),1)))

Seemed to work for me. Hmm, that's also interesting. I put
A1:IV1 and I
just noticed that Excel changed it to 1:1. BTW, I recently
read an article
you wrote on array formulas (a link to which I found on Dick's
blog.) Very
informative article. Thanks.

--
Kevin Vaughn


"Bob Umlas" wrote:


=SUMPRODUCT(N(CHAR(242)=MID(A1,ROW(1:255),1)))
Bob Umlas
Excel MVP

"Annette" wrote in message
...
I need a formula that will count the number of occurences
the above is

found
in a row. Sometimes this will appear more than once in a
cell. (They are
wingdings checkmark or the character 'u' with two dots
above - just

provided
the ascii code above (all are the same)).

Thanks!

Annette









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default Count # of "alt+0242" in cell

Good point.
--
Kevin Vaughn


"Chip Pearson" wrote:

I would amend the formula to use the INDIRECT formula to prevent
the row references from changing if you insert rows.

=SUMPRODUCT(N(CHAR(242)=MID(1:1,ROW(INDIRECT("1:25 5")),1)))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Kevin Vaughn" wrote in
message
...
Very interesting. FWIW, I made the following modification as
it looked like
the OP wanted the entire row. I tried the original formula
both normally
entered and array entered and it only seemed to use A1. The
modified formula
does not need to be array entered.

=SUMPRODUCT(N(CHAR(242)=MID(1:1,ROW(1:255),1)))

Seemed to work for me. Hmm, that's also interesting. I put
A1:IV1 and I
just noticed that Excel changed it to 1:1. BTW, I recently
read an article
you wrote on array formulas (a link to which I found on Dick's
blog.) Very
informative article. Thanks.

--
Kevin Vaughn


"Bob Umlas" wrote:


=SUMPRODUCT(N(CHAR(242)=MID(A1,ROW(1:255),1)))
Bob Umlas
Excel MVP

"Annette" wrote in message
...
I need a formula that will count the number of occurences
the above is
found
in a row. Sometimes this will appear more than once in a
cell. (They are
wingdings checkmark or the character 'u' with two dots
above - just
provided
the ascii code above (all are the same)).

Thanks!

Annette








  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sandy Mann
 
Posts: n/a
Default Count # of "alt+0242" in cell

Chip,

Could you avoid making the formula volatile by using COLUMN() instead of
ROW() & INDIRECT?

=SUMPRODUCT(N(CHAR(242)=MID(1:1,COLUMN(1:255),1)))

According to Charles Williams, although COLUMNS() is documented by Microsoft
as being volatile, in tests it does not seem to be so I assume that COLUMN()
also is not volatile.

--
Regards

Sandy

with @tiscali.co.uk


"Chip Pearson" wrote in message
...
I would amend the formula to use the INDIRECT formula to prevent the row
references from changing if you insert rows.

=SUMPRODUCT(N(CHAR(242)=MID(1:1,ROW(INDIRECT("1:25 5")),1)))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Kevin Vaughn" wrote in message
...
Very interesting. FWIW, I made the following modification as it looked
like
the OP wanted the entire row. I tried the original formula both normally
entered and array entered and it only seemed to use A1. The modified
formula
does not need to be array entered.

=SUMPRODUCT(N(CHAR(242)=MID(1:1,ROW(1:255),1)))

Seemed to work for me. Hmm, that's also interesting. I put A1:IV1 and I
just noticed that Excel changed it to 1:1. BTW, I recently read an
article
you wrote on array formulas (a link to which I found on Dick's blog.)
Very
informative article. Thanks.

--
Kevin Vaughn


"Bob Umlas" wrote:


=SUMPRODUCT(N(CHAR(242)=MID(A1,ROW(1:255),1)))
Bob Umlas
Excel MVP

"Annette" wrote in message
...
I need a formula that will count the number of occurences the above is
found
in a row. Sometimes this will appear more than once in a cell. (They
are
wingdings checkmark or the character 'u' with two dots above - just
provided
the ascii code above (all are the same)).

Thanks!

Annette









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
Cell Count bombayterror New Users to Excel 2 January 21st 06 09:33 PM
Count on cell for each time it is changed Jelinek Excel Discussion (Misc queries) 3 January 9th 06 02:22 PM
I need to keep a count of the times a cell is changed Paul Cahoon Excel Discussion (Misc queries) 2 December 29th 05 03:10 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Show Blank is cell value=0 but count as a zero in sum. How to format this cell ? Markus Obermayer Excel Discussion (Misc queries) 1 January 4th 05 08:01 PM


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