+ Reply to Thread
Results 1 to 13 of 13

Summarising data into summary sheet

  1. #1
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Summarising data into summary sheet

    Dears,
    I have the following questions from the attached sheet.
    I have two tabs "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,BR45,BY45,CF45,CM45,CT45,DA45,DH45,DO45,DV45,EC45,EJ45,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
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Summarising data into summary sheet

    I moved the PROJECT names down to the same row that has the values you want to return since that streamlines the INDEX/MATCH/MATCH process quite nicely. In the row at the top, I just moved it over to column C so that it is not in the way of the MATCH that is looking for the project name in column B.

    After that, simple formulas do the rest.

    Oh yeah, had to add WK31 into the week listing since that cell was blank.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Summarising data into summary sheet

    Dear JB,
    Thanks for your response. Well i wanted to ask onething
    i went to teh resourceprojections sheet and copied project 2 as is and made it project3 but it is not automatically updating the summary sheet.
    Do i have to manually go and do edit of formulas in summary sheet?
    Can you please help me
    Thanks
    max

  4. #4
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Summarising data into summary sheet

    also first when i open teh book i get dialog box as in figure and when i clicked on "edit links" will get second dialog box.
    IS it becauze of this its not working
    Thanks for your time
    Attached Images Attached Images

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Summarising data into summary sheet

    Yes, click on that file and CHANGE SOURCE....find that file on your system.

  6. #6
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Summarising data into summary sheet

    Dear JB,
    Thanks for your response, was off as i was not keeping fine.
    I did try by clicking "ChangeSource" but it never gets saved after i give a name. After typing if i say "OK" the box never closed and i end up cliking "OK" n number of times, donno where i am facing problems.
    Thanks
    max

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Summarising data into summary sheet

    Well, it you have have 25 formulas using the same external reference, I *have* seen the need to choose the file 25 times.

    BUT...usually people refer to external with the SAME formula over and over in a column, you know? So if the external reference is really tweaked, fix it one cell for the column, then copy the cell down to put the fix into the whole column.

    Repeat as needed. You should only have to go through this once.

  8. #8
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Summarising data into summary sheet

    Hi Jb,
    I am sorry but i really did not get what information you wanted to convey. I only want to know in the sheet that you attached what were the changes ..
    anyways thanks a lot for your time
    max

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Summarising data into summary sheet

    Your original file has an extrnal link to a file called RESOURCE TRACKER.XLS, it's not something I added. The stuff I added is simple local formulas.

    When I go to EDIT > LINKS > BREAK LINK the sheet *seems* to keep working fine. Does your original sheet include active links to another workbook or not?

    If not, just break the links for good and be done with it.

  10. #10
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Summarising data into summary sheet

    Dear Jb,
    I hope now this sheet is not having any link as i too broke them as you suggested. Many thanks for your help.
    But now in this sheet i tried copying the project as Project3 in "resourceprojectsions" sheet but its not coming on the summary sheet. Do i have to manually go and edit there.
    Well my initial question was would i be able to automatically get it on summary sheet.
    Please suggest
    thanks
    max
    Attached Files Attached Files

  11. #11
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Summarising data into summary sheet

    Um, it works fine. You added the Project 3 to the ResourceProjections, but you didn't add it to the Summary Sheet nor did you copy the formulas down from row 13 to row 15. I put "Project 3" in B15 and copied down the formulas and everything appeared just fine.

  12. #12
    Forum Contributor
    Join Date
    02-03-2009
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Summarising data into summary sheet

    Thanks a lot JB , i understood it well now
    sorry for the delay in reply.

    Max

  13. #13
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Summarising data into summary sheet

    If that takes care of your need, be sure to EDIT your original post and add [SOLVED] to the beginning of the title.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1