+ Reply to Thread
Results 1 to 7 of 7

V Look Up Function

  1. #1
    Forum Contributor
    Join Date
    02-04-2008
    MS-Off Ver
    Microsoft Office 2007
    Posts
    261

    V Look Up Function

    Dear All,

    Please find the attached file,

    I Have Two Tables in the sheet,what i'm trying to sort out is need to get the gross salary of an employee
    based on his Name,Badge No,OT Rate,T Rate & Basic.

    If Badge No & Name which is A2 & C2 then it should check on the table below A19:E27 then
    it should take on the rates which is OT,T & Basic,Multiply OT Hours with OT Rate then Multiply T Rate
    with T Hours and finally it should add the basic salary along with that and the end result should be on F2..

    Any Help Will Be Appreciated...

    Thanks,
    Ak
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: V Look Up Function

    In F2

    Please Login or Register  to view this content.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    02-04-2008
    MS-Off Ver
    Microsoft Office 2007
    Posts
    261

    Re: V Look Up Function

    Thanks for the help Ace,but it seems there is an error in the formula,when i copy down the formula it doesn't give an exact result,
    I think 2nd and 3rd Match $C$2 is stable doesn't change..

    =SUM(INDEX(C$19:C$27,MATCH($C3,$B$19:$B$27,0))*D3,INDEX(D$19:D$27,MATCH($C$2,$B$19:$B$27,0))*E3,INDEX(E$19:E$27,MATCH($C$2,$B$19:$B$27,0)))

    Regards,
    Ak

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: V Look Up Function

    Apologies..try this

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    02-04-2008
    MS-Off Ver
    Microsoft Office 2007
    Posts
    261

    Re: V Look Up Function

    Thanks Ace it helped..

    Regards,
    Ak

  6. #6
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: V Look Up Function

    Try this version:

    =SUMPRODUCT((A$19:A$24=A2)*(B$19:B$24=C2),(C$19:C$24*D2)+(D$19:D$24*E2)+E$19:E$24)

  7. #7
    Forum Contributor
    Join Date
    02-04-2008
    MS-Off Ver
    Microsoft Office 2007
    Posts
    261

    Re: V Look Up Function

    Thanks Mama both the formulas work fine..

    Regards,
    Ak

+ 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