+ Reply to Thread
Results 1 to 1 of 1

Need VB Macro to Automate Spreadsheet

  1. #1
    Registered User
    Join Date
    07-28-2012
    Location
    Morgantown, WV
    MS-Off Ver
    Excel 2007
    Posts
    54

    Unhappy Need VB Macro to Automate Spreadsheet

    Our programmer in our company had just resigned and my supervisor had asked me to help him by creating a formula or VB script which I have no knowledge in doing. I appreciate anyone who can provide me a solution.

    In the Main worksheet in the Main Workbook (on attachment) I will need either a VB Macro or a formula that could achieve my task, please view steps below.

    1. In the row containing the greatest number in the Sumof Quantity column (Column H) for each Primary in the prim_sec column (Column I, cells highlighted in pink), I will need a formula or VB Macro that will be able to copy data (cell highlighted in blue in the Example 2 worksheet) in the S Function column (Column F) and paste data in the cells below in the S Function column (view cells highlighted in green color ) that has a Secondary value located in the prim_sec column (Column I, view purple color). This needs to be done for each seperate person code located in the EID Column (Column B) for each separate date in the date column (Column A). FYI - In my Excel file back at work, I have about 50,000 records in my Workbook. The cells in my workbook back at my work is not color coded.

    Note: I will need the VB or Macro in the Main worksheet. List is sorted by EID, Date, and prim_sec columns. I really appreciate the assistance. FYI - I am able to use Excel 2003, 2007, and 2010
    Last edited by haleakala17; 08-10-2012 at 09:32 PM. Reason: Change Title

+ Reply to Thread

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