+ Reply to Thread
Results 1 to 4 of 4

sumif indirect or vlookup?

  1. #1
    Registered User
    Join Date
    01-03-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2

    sumif indirect or vlookup?

    Hello,
    I am new to this forum and am really hoping some wonderful excel expert can help me.
    I would be unbelievably grateful!
    I am trying to create a formula for a spreadsheet I use for calculating hours and wages in a shop. I have attached a smaller version of the one I use. The actual one I use has 52 tabs for each week whereas this one I have only included 3 to make it simpler and hopefully the formal can just be added in after a new week. I want to be able to sum in the FINAL SUMMARY tab the total hours for each week and then work out total pay etc. I have tried to use sumif indirect and I have tried a vlookup but I cannot seem to get it right so I was wondering if someone might be able to look at the spreadsheet and see if they can come up with the answer. I have puzzled for days now and I am sure it is really simple.
    I want to be able to look in each tab and at the specific name of the employee as the name moves cells when they leave or when there are more people working but they are in the same column.
    Any ideas would be great.
    Thanks HDubz
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: sumif indirect or vlookup?

    Hi hdubz and welcome to the forum

    In C2, copied down and across, use this...

    =IFERROR(VLOOKUP($A2,INDIRECT("'"&VALUE(MID(C$1,SEARCH(" ",C$1,1)+1,2))&"'!$A$3:$J$17"),10,FALSE),0)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-03-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: sumif indirect or vlookup?

    Thank you so much thats brilliant! It works a charm. x

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: sumif indirect or vlookup?

    Happy to help. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below)

+ 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