LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using for loop in a macro

Hi, Anyone there who can help....
I have an XL sheet with 3 sheets
1) Sheet1 - contains a dump of data from database containing the tim
report of each employee in the organisation. This data is dumped on
weely basis. The demographics of the data is such that an employee ca
be working on more than one project and will be charging his time spen
to more than one project. Thus, each employee may have more than on
row of data for a particular week.
2)Sheet 2 has a list of employees I am intertested in --- I don't wan
all the employee
3)Sheet 3 - this is the sheet which I need to populate with th
information -- Logic required here is
i) Lookup all the names from Sheet 2
ii) For each name - Pick up all the rows from Sheet1
iii) After inserting all rows for each person - insert a summary ro
which sums up the hours for that person each day.

This action needs to be repeated for each employee in the Sheet2.
Hope i have explained everything clearly.
Any helps---really appreciated.

Thanks in advance
Dipt

--
Message posted from http://www.ExcelForum.com

 
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
loop a macro jnjwilliams94 Excel Discussion (Misc queries) 4 August 26th 06 01:52 PM
how to put a loop in a macro? Khoshravan New Users to Excel 4 May 14th 06 01:22 PM
macro loop DM Excel Discussion (Misc queries) 1 January 3rd 06 10:46 PM
how can i loop a macro Remote help Excel Discussion (Misc queries) 1 July 21st 05 02:57 AM
macro loop Helen Excel Discussion (Misc queries) 7 January 12th 05 02:42 PM


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