+ Reply to Thread
Results 1 to 5 of 5

Lookup Formula needed

  1. #1
    Registered User
    Join Date
    09-02-2009
    Location
    coventry
    MS-Off Ver
    Excel 2003
    Posts
    11

    Lookup Formula needed

    Hi,

    I'm trying to create a spreadsheet which calculates someones pay costs for a project. I've attached the workbook to help explain. But what i need it do is as follows:

    In column B, you select the persons grade from a data valid list, and then in C you select whether or not you want to calculate their cost based on their Annual Salary or their Hourly Rate. THen depending on whether they choose, FTE or Hours the corresponding rate goes into column D. I've created the spreadsheet, and the data valid lists on a seperate sheet in the workbook, i just can't work out the formula to make it work.

    Can anyone help?
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup Formula needed

    Hi

    Maybe, in D3.

    =IF(C3="FTE",INDEX('Data List'!$B$2:$B$6,MATCH(Sheet1!B3,'Data List'!$A$2:$A$6,0)),IF(Sheet1!C3="Hours",INDEX('Data List'!$C$2:$C$6,MATCH(Sheet1!B3,'Data List'!$A$2:$A$6,0))))
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: Lookup Formula needed

    Thsi will give you annual rate or hourly rate based on your selection in Column B and Column C

    =INDEX(IF(C3="FTE",'Data List'!$B$1:$B$6,'Data List'!$C$1:$C$6),MATCH(B3,'Data List'!$A$1:$A$6,0))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    09-02-2009
    Location
    coventry
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Lookup Formula needed

    Excellent - thanks ever so much both of you. You've done in 10 minutes what i'd been going over for a day!

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Lookup Formula needed

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.


+ 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