Recent content by nguyeda

  1. N

    Modify working code - Export Query and Update Worksheets in Excel Template

    I'm trying it now. I have Office 2007. I added all the libraries but it won't let me run it at all. Doesn't show up as something I can run... did you have that issue?
  2. N

    Modify working code - Export Query and Update Worksheets in Excel Template

    Hello, the code below basically runs some Access Queries, then copies them in to a NEW excel workbook in .XLS. What I want to do instead is open an existing .XLSM wokrbook delete or update the 7 sheets it creates and replace them with the new query results from access. I love this code below...
  3. N

    Looping through columns to find a specific value

    Pat, I agree. In this case, I couldn't figure out how to make it work. There are about 7-8 tables that make the asset position go up or down. I have to keep everything in their respective months. It's a rolling monthly asset balance. The only way I could figure it out is to create quries to...
  4. N

    Looping through columns to find a specific value

    I'm analyzing SAP data and putting it in a dynamic visual tool in excel. So, the formulas in Excel actually need the data in columns in order for the chart visualization to work. I'm going to revisit restructuring the queries for the purposes I need here. Thanks guys!
  5. N

    Looping through columns to find a specific value

    I compeltely agree but it's the format that I had to use for our users. There are about 7-10 tables that create the initial subquery. There are 60 subqueries to get to the one I want to analyze. I had to take the ending balance of each asset of each month, the create another query based off...
  6. N

    Looping through columns to find a specific value

    Hello, I need to do figure out a couple options: This query returns a running asset balance for 60 months. Each month is 1 column. 1) I need to create a query based on those results that can cycle through each column and determine if it is NEGATIVE. Then if it is negative, I need to...
  7. N

    Create Columns Based on Subgroupings

    I found a solution on an excel forum. The subgroups could be random though and they can be sorted randomly as long as the would end up on the same row as major group "A." Thanks for your help!
  8. N

    Create Columns Based on Subgroupings

    I would be ok doing some VBA. That was just one example... in another case we made need up to 750 columns. May have to use Excel for this.
  9. N

    Create Columns Based on Subgroupings

    In the real set there is about 77 groups and at least 10 subgroups per group
  10. N

    Create Columns Based on Subgroupings

    I'm not even sure how to search the forums or google for an existing solution. What I'm trying to do is create columns based on subgrouping. See attached example in excel. It's almost like transposing but not it. The names of the columns don't really matter. It's to be used in a dynamic...
  11. N

    Loop to do rolling 12 month average

    Not including the comment box. Starting with the date of the first demand for each item. So if the first demand was in May, start there and avg for 12 months then the following months.
  12. N

    Loop to do rolling 12 month average

    Thanks again but still not there! Its better that it does all the materials now but the result I'm looking for is more like Completely fictional: A - 8/1/2013 - 30 (which is the average of 8/1/2013-7/1/2013) A - 9/1/2013 - 40 (which is the average of 9/1/2013-8/1/2013) A - 10/1/2013 - 50...
  13. N

    Loop to do rolling 12 month average

    Thanks but not what I'm looking for. I need an average for every rolling 12 month period so each month would return an average of the future 12 months. There are really over 10,000 materials.
  14. N

    Loop to do rolling 12 month average

    May be VBA is a better solution for this: Say for Material A: I need Access to see that the 1st date is 05/01/2013 and say 365 days out or 12 months (05/01/2013-04/01/2014) the average is 158.6 then 06/2013-05/2014 the average is 146.667 and so on. Every month is not going to be listed in the...
  15. N

    Rolling 12 Month Average - Sample Data Inside

    I have a lot of scenerios where I need to do rolling formulas, so it'd help if I could learn some lessons here :)
Back
Top Bottom