#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 117
Default Counting occurrences

How can I determine how many equal (=) signs are in my spreadsheet?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 320
Default Counting occurrences

ONE way, if you're really counting formulas is to use Edit/Replace, replacing
= with x=. Excel will tell you how many it replaced. Then replace X= with =
to restore it!

"GARY" wrote:

How can I determine how many equal (=) signs are in my spreadsheet?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default Counting occurrences

oops... I see your earlier post now....
--
-SA


"GARY" wrote:

How can I determine how many equal (=) signs are in my spreadsheet?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
Default Counting occurrences

Run this macro. It'll tell you the number of "=" you have in the active
spreadsheet. Hope this helps!

Sub equalnumber()

Dim i As Integer
Dim cell As Range

i = 0

For Each cell In ActiveSheet.UsedRange

If cell.Formula Like "*=*" Then i = i + 1

Next cell

MsgBox ("There are " & i & " occurences of = in this worksheet")

End Sub
--
-SA


"GARY" wrote:

How can I determine how many equal (=) signs are in my spreadsheet?

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
Counting occurrences GARY Excel Discussion (Misc queries) 3 August 13th 08 09:51 PM
counting random occurrences billy_bags Excel Discussion (Misc queries) 1 May 11th 07 12:04 AM
Counting occurrences on a particular date smore Excel Worksheet Functions 6 April 19th 07 11:22 PM
Counting number of occurrences LyleB_Austin Excel Worksheet Functions 1 September 15th 05 10:42 PM
counting occurrences in a range Judy Felfe Excel Discussion (Misc queries) 3 July 20th 05 07:25 PM


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