Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 191
Default Craeting a relatively complex macro - need help - looping

I am relatively new at this but here goes...

I am trying to create a macro to tell me how many times a seat has been
occupied since it was last checked.

i.e. seat 1 checked on 3.13.07

column A column b
seat number check date
1 3.13.07

I have a separate data report which identifies on a per day basis how many
times the chair was used. i.e.

date 03.01.07 03.02.07 03.03.07........
chair number
1
2
3
......

I need to qualify how many times (not the last time) the chair was used
since the last date it was checked.

ANY SUGGESTIONS?
I am really lost here.....
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Craeting a relatively complex macro - need help - looping

This is pretty simple. You need to add another row (or column) to your date
table to indicate that the chair has been checked (the X data below). You
also need to add to the date list everytime a set is occupied. the n all you
have to do is count the number of time the chair appears in the date list
without an X. Then add the X to the date list indicating that it has been
checked.

date 03.01.07 03.02.07 03.03.07........
X X X

I am trying to create a macro to tell me how many times a seat has been
occupied since it was last checked.

i.e. seat 1 checked on 3.13.07

column A column b
seat number check date
1 3.13.07

I have a separate data report which identifies on a per day basis how many
times the chair was used. i.e.

date 03.01.07 03.02.07 03.03.07........
chair number
1
2
3
......

I need to qualify how many times (not the last time) the chair was used
since the last date it was checked.

ANY SUGGESTIONS?
I am really lost here.....

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
Macro looping? klh84 Excel Worksheet Functions 3 February 26th 10 05:58 PM
Looping Macro KimC Excel Discussion (Misc queries) 1 January 11th 10 04:55 AM
Looping macro RK Excel Worksheet Functions 2 December 12th 06 11:29 PM
Looping macro furanku Excel Programming 1 September 25th 05 07:25 AM
complex looping problem Max Bialystock Excel Programming 16 April 10th 04 01:56 PM


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