+ Reply to Thread
Results 1 to 17 of 17

Need Help with summation and reflecting the sum in new sheet

  1. #1
    Registered User
    Join Date
    09-02-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Need Help with summation and reflecting the sum in new sheet

    Hello,

    I have two sheets within the attached excel.

    Sheet 1 - Gives me details consultant wise, scheduling in a project, week wise, day wise for 13 weeks.

    Sheet 2 - Has the same consultant names, but with different columns.

    My problem: I want to sum up the hours per day into per week (for the 13 weeks) from Sheet 2 and want it to reflect against the corresponding consultant's name in Sheet 2. .

    Any help would be much appreciated. I need to do this on a weekly basis, what is the best way to do this? Formula?Macro?

    The number of rows will vary weekly with additions and deletions.

    Thank you so much in advance!
    VM
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Need Help with summation and reflecting the sum in new sheet

    Paste this formula in G2, copy till S9.
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Need Help with summation and reflecting the sum in new sheet

    In future, remember to delete all sensitive data from the sample file. Can be easily misused.

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Need Help with summation and reflecting the sum in new sheet

    I changed your dates in sheet 1 to be dates and then used prev date +7 for the future dates

    then used

    Please Login or Register  to view this content.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  5. #5
    Registered User
    Join Date
    09-02-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Need Help with summation and reflecting the sum in new sheet

    Thank you Hari. The data is just gibberish and not actuals.

    I tried your formula, and it works perfectly. Only when I copy onto my original data, it does not return any values. I changed the cell values and data arrays accordingly, but it still didnt work. Any tips you can help with?

    Much appreciate your help.

    Thank you

  6. #6
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Need Help with summation and reflecting the sum in new sheet

    I was taking about the email IDs, I am sure that they are actuals

    This is how the formula works, see if you can tweak it to know where it is going wrong.
    From A3 to DR12 (this is where your daily data lies, you have to adjust as per your new data range) - Pick a row where resource name is matching (Row number is returned by comparing resource name in Sheet2 D column with the list of resources in Sheet1, B column.
    Then Pick a column where date as in Sheet2 2nd row Column G and onwards. Check matching column in 3rd row Sheet1.

    I have hard coded the date format that you have in Sheet1 as 06-Jun-2014 Total . Only tricky part here is that the date format in Sheet1 should always be in the same format. Apart from this, this formula should work for you.

    If you still have problems, upload the book you are working on. Remember to adjust the references as per your data.
    Last edited by haripopuri; 06-02-2014 at 07:27 AM.

  7. #7
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Need Help with summation and reflecting the sum in new sheet

    Also try formula evaluation step by step, you might catch where it is going wrong in your case.

  8. #8
    Registered User
    Join Date
    09-02-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Need Help with summation and reflecting the sum in new sheet

    Thank You Hari

    So i tried all your suggestions but it still does not return a value. When I evaluate, it tells me that there is a missing #N/A value, which I can't figure out where. I've attached my worksheet. Would be great if you can have a look and tell me where I am going wrong. Much, much appreciate your help!
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Need Help with summation and reflecting the sum in new sheet

    Have you tried my solution?

  10. #10
    Registered User
    Join Date
    09-02-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Need Help with summation and reflecting the sum in new sheet

    Hi Nathan,

    I tried it, but I find it too complicated for me. I'm very code and formula illiterate and hence found it easier to work with Hari's approach.
    I was not sure how to use the formula you mentioned.

    Thank you for checking in!

  11. #11
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Need Help with summation and reflecting the sum in new sheet

    Please Login or Register  to view this content.

  12. #12
    Registered User
    Join Date
    09-02-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Need Help with summation and reflecting the sum in new sheet

    Thank you!!! Works now!

  13. #13
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Need Help with summation and reflecting the sum in new sheet

    No worries, they were pretty much the same solution :o)

  14. #14
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Need Help with summation and reflecting the sum in new sheet

    Just noticed that above formula is not working for 4-Jul piece. Below should work if you also face the same problem

    Please Login or Register  to view this content.

  15. #15
    Registered User
    Join Date
    09-02-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Need Help with summation and reflecting the sum in new sheet

    Thank you much!!! It was giving me the error, but now its perfect.

    You are awesome!

  16. #16
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Need Help with summation and reflecting the sum in new sheet

    I am glad that I could help. If the problem is resolved, please update the thread as SOLVED. You may wish to add a point to my reputation.

  17. #17
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Need Help with summation and reflecting the sum in new sheet

    Update the thread as solved. You may wish to add to my reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Reflecting information from one sheet to another using macro functions
    By Charonix in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2013, 02:19 PM
  2. [SOLVED] Summation of amounts by date from one sheet and transfering onto a summary sheet
    By hasaneen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-19-2012, 10:57 AM
  3. Reflecting the data from one sheet to another based on condition and to send mails
    By anchuri_chaitanya in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 05-19-2012, 09:25 AM
  4. reflecting one columns data into 3 others
    By Ianseconds in forum Excel General
    Replies: 1
    Last Post: 01-21-2011, 02:19 PM
  5. reflecting data in two sheets
    By Cyberslam in forum Excel General
    Replies: 3
    Last Post: 01-06-2011, 05:40 AM

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