Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 390
Default Placing values into summary sheet

Dears,
I have the following questions
I have two tabs in a excel workbook "SummarySheet" and "ResourceProjections"

On the summarysheet i do show the summary with the project name and the
total number of hours worked on that project for that week.
My problem is everytime i add a project in ResourceProjections i should
manually come to summarysheet and give reference to that project and the
values.

I want to achieve 2 things here

1
What i want is the code which will try to find the entry for a project name
in Colmn B in Resourceprojections(as column B will hav project name) and
place the value in Summary sheet.
For ex when it finds entry for "Project2" in B27 it will automatically
place it in B13 of the Summarysheet. Similarly when it finds the entry for
"Project3" in any row of B it should again copy in B15 of Summary sheet and
so on B17,B19 etc.

2 I want also teh values to be automatically copied to respective cells
besides that project in summarysheet.
Ex: when an entry is found in ColumnE (it will always be "Total Hrs/Week")
then for that row it shuld go to subsequent columns which is constant always
once defined as it is based on calendar should be copied
Now when it finds for Project2 an entry in ColumnE at E45 then should get
values of
"F45,G45,N45,U45,AB45,AI45,AP45,AW45,BD45,BK45,BR4 5,BY45,CF45,CM45,CT45,DA45,DH45,DO45,DV45,EC45,EJ4 5,EQ45,EX45"
and place then from C13 onwards in Summary sheet.
Similarly for Project3 and so on.

I would want the code to be dynamic so that tomorrow if i do it for 2010 it
should work.

Is this a good idea or not please suggest or if any better way to do this
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Placing values into summary sheet

Hi there

The problem in Excel is that references to sheets or Workbooks are fix and
not dynamic. To dynamically add data from a dynamic number of sheets you
need to write VBA code which collects the data and places it in a new sheet
or which creates the references.

I have written a program which is shareware and which could solve the
problem. You can put define names in every workbook and
the program collects the data over the names in one many workbooks and
creates a list in a new workbook. Then you could record a macro and directly
copy/paste the code in
the program so it will be excecuted every time you start the report. The
program is in German but I can help you with that. Unfortunately the program
is not free of charge but has a 30 day evaluation period.

Download-Link: http://www.excelspezialist.ch/index....v=400&text=430

Kind regards,

Alex
------------------------------------
Excel-Spezialist
www.excelspezialist.ch
------------------------------------




"Max" schrieb im Newsbeitrag
...
Dears,
I have the following questions
I have two tabs in a excel workbook "SummarySheet" and
"ResourceProjections"

On the summarysheet i do show the summary with the project name and the
total number of hours worked on that project for that week.
My problem is everytime i add a project in ResourceProjections i should
manually come to summarysheet and give reference to that project and the
values.

I want to achieve 2 things here

1
What i want is the code which will try to find the entry for a project
name
in Colmn B in Resourceprojections(as column B will hav project name) and
place the value in Summary sheet.
For ex when it finds entry for "Project2" in B27 it will automatically
place it in B13 of the Summarysheet. Similarly when it finds the entry for
"Project3" in any row of B it should again copy in B15 of Summary sheet
and
so on B17,B19 etc.

2 I want also teh values to be automatically copied to respective cells
besides that project in summarysheet.
Ex: when an entry is found in ColumnE (it will always be "Total Hrs/Week")
then for that row it shuld go to subsequent columns which is constant
always
once defined as it is based on calendar should be copied
Now when it finds for Project2 an entry in ColumnE at E45 then should get
values of
"F45,G45,N45,U45,AB45,AI45,AP45,AW45,BD45,BK45,BR4 5,BY45,CF45,CM45,CT45,DA45,DH45,DO45,DV45,EC45,EJ4 5,EQ45,EX45"
and place then from C13 onwards in Summary sheet.
Similarly for Project3 and so on.

I would want the code to be dynamic so that tomorrow if i do it for 2010
it
should work.

Is this a good idea or not please suggest or if any better way to do this


  #3   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 390
Default Placing values into summary sheet

Thanks a lot for the info.
Well i was only expecting if someone could share the VBA code in this forum
max

" wrote:

Hi there

The problem in Excel is that references to sheets or Workbooks are fix and
not dynamic. To dynamically add data from a dynamic number of sheets you
need to write VBA code which collects the data and places it in a new sheet
or which creates the references.

I have written a program which is shareware and which could solve the
problem. You can put define names in every workbook and
the program collects the data over the names in one many workbooks and
creates a list in a new workbook. Then you could record a macro and directly
copy/paste the code in
the program so it will be excecuted every time you start the report. The
program is in German but I can help you with that. Unfortunately the program
is not free of charge but has a 30 day evaluation period.

Download-Link: http://www.excelspezialist.ch/index....v=400&text=430

Kind regards,

Alex
------------------------------------
Excel-Spezialist
www.excelspezialist.ch
------------------------------------




"Max" schrieb im Newsbeitrag
...
Dears,
I have the following questions
I have two tabs in a excel workbook "SummarySheet" and
"ResourceProjections"

On the summarysheet i do show the summary with the project name and the
total number of hours worked on that project for that week.
My problem is everytime i add a project in ResourceProjections i should
manually come to summarysheet and give reference to that project and the
values.

I want to achieve 2 things here

1
What i want is the code which will try to find the entry for a project
name
in Colmn B in Resourceprojections(as column B will hav project name) and
place the value in Summary sheet.
For ex when it finds entry for "Project2" in B27 it will automatically
place it in B13 of the Summarysheet. Similarly when it finds the entry for
"Project3" in any row of B it should again copy in B15 of Summary sheet
and
so on B17,B19 etc.

2 I want also teh values to be automatically copied to respective cells
besides that project in summarysheet.
Ex: when an entry is found in ColumnE (it will always be "Total Hrs/Week")
then for that row it shuld go to subsequent columns which is constant
always
once defined as it is based on calendar should be copied
Now when it finds for Project2 an entry in ColumnE at E45 then should get
values of
"F45,G45,N45,U45,AB45,AI45,AP45,AW45,BD45,BK45,BR4 5,BY45,CF45,CM45,CT45,DA45,DH45,DO45,DV45,EC45,EJ4 5,EQ45,EX45"
and place then from C13 onwards in Summary sheet.
Similarly for Project3 and so on.

I would want the code to be dynamic so that tomorrow if i do it for 2010
it
should work.

Is this a good idea or not please suggest or if any better way to do this


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make all values of a 3D named range appear on summary sheet Joe L Excel Discussion (Misc queries) 1 April 14th 09 10:33 PM
Copy two summary ranges to master summary sheet a m spock Excel Programming 5 September 13th 08 01:49 PM
Placing values in a range on a non-active sheet Daniel Bonallack Excel Programming 3 May 9th 05 06:18 PM
How do I reference values from 200 worksheets onto a summary sheet mac849 Excel Discussion (Misc queries) 4 March 17th 05 09:26 AM
Placing an array on the active sheet M R Excel Programming 0 July 14th 03 12:11 AM


All times are GMT +1. The time now is 01:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"