Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do i set up a counter?

I would like a cell to advance by one every time the F9 key is hit. Is there
any way to set something like this up? If not, is there a way to easily
advance a cell by one? Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default How do i set up a counter?

This is too hard to understand - something simple like
column B in wks 1 - if column A in wks 1 = column in summary wks = value /
else 0

"Bulldog21" wrote:

I would like a cell to advance by one every time the F9 key is hit. Is there
any way to set something like this up? If not, is there a way to easily
advance a cell by one? Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default How do i set up a counter?

If you really want a counter, you have to ensure iterations is checked (menu
Tools|Options|Calculation tab), because of a circular reference. You should
also change the value in max iterations to 1, or it will 'jump' 100(or
whatever the value is). You should also want a 'reset' to reset your count as
needed. Say A1 is your counter, and B1 is your reset.
A1: =IF(B1=1,resetvalue,A1+1)
B1: 0 or 1 (or you could even tie it in if you like to the value of A1
B1: =IF(A1=100,1,0)

NOTE: Calculations take place in a specific order row 1, A thru IV, then row
2, etc...
This is important.
say A1=99
you press F9
A1 calculates first to go to 100, then B1 evaluates, and changes to 1, since
A1 is no longer less than 100, but A1, until the F9 is pressed, remains at
100 because it already calculated.
--
John C


"Bulldog21" wrote:

I would like a cell to advance by one every time the F9 key is hit. Is there
any way to set something like this up? If not, is there a way to easily
advance a cell by one? Thank you.

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
Add A Day Counter EisPanzer Excel Discussion (Misc queries) 3 May 9th 07 01:24 AM
how do I set up a counter? John T Excel Discussion (Misc queries) 3 October 20th 06 09:01 PM
counter Haza Excel Discussion (Misc queries) 2 January 20th 06 08:30 PM
Counter Sdbenn90 Excel Discussion (Misc queries) 4 January 9th 06 11:43 AM
Counter Polina Excel Discussion (Misc queries) 2 May 27th 05 09:52 PM


All times are GMT +1. The time now is 04:25 AM.

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"