+ Reply to Thread
Results 1 to 4 of 4

Dynamic Occurance Counter in excel

  1. #1
    Registered User
    Join Date
    04-16-2014
    Location
    ISRAEL
    MS-Off Ver
    Excel 2010
    Posts
    3

    Dynamic Occurance Counter in excel

    Hi,

    I have a live feed from Bloomberg in my spreadsheet and I want to build a counter that will count if the calculation I made (based on the feed) in a certain cell is equal to 1. In other words, I want to know how many times the cell contained the number 1 during a period of time that the spreadsheet was open.
    I want to add, that cell is binary, it can be or 0 or 1 and there are times that it stays on 0 or on one for long minutes. I want to just run the spreadsheet open in the backgraund all day long, and in the end of the day, see how many times it was equal to 1.

    Can anybody help?

    thanks a lot!
    Avi

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Dynamic Occurance Counter in excel

    Hi Avi and welcome to the forum,

    Here is the VBA code and example file that does what I think you want.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    04-16-2014
    Location
    ISRAEL
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Dynamic Occurance Counter in excel

    Thank you very much!!! That is exactly what I needed!

    Avi

  4. #4
    Registered User
    Join Date
    04-16-2014
    Location
    ISRAEL
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Dynamic Occurance Counter in excel

    OK so I have a problem with that... it seems to work fine when I change the counted cell manually but when it is automated it does not do anything.
    Any ideas why?

    thanks
    Avi

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Count the occurance of a value x a value in another cell in excel
    By Batty in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  2. [SOLVED] Count the occurance of a value x a value in another cell in excel
    By KL in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  3. Count the occurance of a value x a value in another cell in excel
    By Batty in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  4. Count the occurance of a value x a value in another cell in excel
    By Batty in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  5. Count the occurance of a value x a value in another cell in excel
    By Batty in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1