Consulting

Results 1 to 20 of 104

Thread: Creating Multiple Tables Using Loop in VBA. I still want to add new sheets and add

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Tutor
    Joined
    Jan 2020
    Posts
    204
    Location
    Quote Originally Posted by Paul_Hossler View Post
    What I've done in the past was to use VBA to create a temporary PT on a temporary WS to do all the heavy lifting and then by selecting the appropriate page fields to 'filter' the data I could create the final reports

    Along the way, I created any needed 'derived' fields for parameters that were not in the source data

    Delete the temporary WS and I was done

    That's just one way

    Sometimes I created a temporary WS with a copy of the source data and any auxiliary values to make the PT easier to use
    Do you have a sample workbook of this that I can study?

  2. #2
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,885
    I'm aiming to produce two solutions, one with pivot tables and one with just formulae. This will allow comparison and if they're the same all well and good, you'll have a choice. If they're different then some detective work will be needed.
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  3. #3
    VBAX Tutor
    Joined
    Jan 2020
    Posts
    204
    Location
    If OB AHT = "" or 0, the value of Full AHT is IB AHT/IB Tasks
    Otherwise, the formula is IB AHT + (OB AHT *(OB TASKS/IB TASKS))

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •