G
Guest
I have a large file with numerous tabs all containing different financial
information for approximately 80 projects. I would like to create a P&L for
each of the 80 projects but am not sure the best way to do this.
Here is a brief description of how the file is structured:
Tab 1 contains sales information. Each project has approximately 10 rows
worth of sales information for multiple years. So, project #1 has
information in the first 10 rows. Project #2 starts on row 11 and contains
the exact same information but for that particular project and so on down the
sheet.
Tab 2 contains inventory information. Same structure as above. Project #1
begins at the top of the page and each project follows say 13 rows apart.
I was thinking I could write some type of macro to create a master data tab
that I could use to build a pivot table. I would need to pull certain sales
data from Tab 1 for the first project and then have the macro automatically
go down 12 rows and pull the same information for project #2 and so on for
all 80 projects. Then I would need to do the same exercise for Tab 2 since
it contains fewer rows of data and would only need to go down say 8 rows for
project #2 and so on. Hopefully this makes sense to someone other than me .
Anyone have any suggestions on a macro that I could start with or
alternatives to my initial approach?
Thanks in advance for your help. It is always greatly appreciated!!
information for approximately 80 projects. I would like to create a P&L for
each of the 80 projects but am not sure the best way to do this.
Here is a brief description of how the file is structured:
Tab 1 contains sales information. Each project has approximately 10 rows
worth of sales information for multiple years. So, project #1 has
information in the first 10 rows. Project #2 starts on row 11 and contains
the exact same information but for that particular project and so on down the
sheet.
Tab 2 contains inventory information. Same structure as above. Project #1
begins at the top of the page and each project follows say 13 rows apart.
I was thinking I could write some type of macro to create a master data tab
that I could use to build a pivot table. I would need to pull certain sales
data from Tab 1 for the first project and then have the macro automatically
go down 12 rows and pull the same information for project #2 and so on for
all 80 projects. Then I would need to do the same exercise for Tab 2 since
it contains fewer rows of data and would only need to go down say 8 rows for
project #2 and so on. Hopefully this makes sense to someone other than me .
Anyone have any suggestions on a macro that I could start with or
alternatives to my initial approach?
Thanks in advance for your help. It is always greatly appreciated!!