Results 1 to 4 of 4

lookup and create summary sheet from data in existing workbook using vba

Threaded View

  1. #1
    Registered User
    Join Date
    02-15-2010
    Location
    melbourne, Australia
    MS-Off Ver
    Excel 2003
    Posts
    9

    lookup and create summary sheet from data in existing workbook using vba

    Code/Help required on Excel VBA
    I have an automatically generated workbook which forms part of a bill of materials which is generated from within an autocad drawing via vba. (see sample attached). This is only a small sample as some of these worksheets can contain many more rows of data. (Note the first 9 rows of the worksheet are auto filled by the same vba macro in Autocad to show project information from the drawing titleblock)
    What i would like to do via vba is as follows
    for every instance of 1,2,3,4 etc in column B i would like to automatically sum the corresponding values in column H.
    Columns J,K,M,L & O are part numbers and for each pour number (1,2,3 etc) i would like to be able to sum the number of different items required. Note the Part numbers will vary on a pour by pour basis.

    I suspect a separate summary sheet would be the best option showing the same project information on the top 9 rows then going into detail with the summary information for each Pour Number in the sheet BOM. I have created a basic example of what it could look like on the summary worksheet in the attached file.

    I am not very experienced and have not used excel a lot in the past so would appreciate help in finalising my project. If anyone has some code they are willing to share it would be greatly appreciated. I am specifically wanting to use vba so that i can process the data to create my summary worksheet through my existing code

    Regards John B
    Attached Files Attached Files
    Last edited by John Bortoli; 03-10-2010 at 10:41 PM. Reason: poor title, uploaded revised sample.xls to reflect requirements

Thread Information

Users Browsing this Thread

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

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