Trying to automate a process, and getting stuck on defining things. I think I've spelled it out in my workbook, but here's the background:
I start off creating a pivot via a macro. Got that part, no problem. Now I need to build formulas, labels, relative to items in the pivot, and I'm getting stymied by lack of syntax.Sorry to have to come for help, but I'm humble enough to know when my poor brain just doesn't have the firepower I need.
- The Row of Headers, the items that go in the pivot ROWS area, what do I call that row in a macro?
- The first cell outside (to the right of) that pivot, on that ROWS row, how do I call that?
- The row above my ROWS row has a column with the name of "Projection". It's the last column of my pivot. So Row1, "Projection" column. How do I pinpoint that cell?
- The cell two columns away from "JOURNAL_ID" but on the same row, or one column away from '(Multiple Items)", how do I deposit a value in that cell?
- The formula in my first column to the right of my pivot has to take the average for all of my "2023_*" fields EXCEPT "2023_01". How do I do that formula?
BTW, I would include my macro, but it currently only goes to completing the pivot, and that's where I get stuck. But "PT" means "Pivottable" all through it.
Bookmarks