+ Reply to Thread
Results 1 to 4 of 4

Pick up the relevant rate through formula

  1. #1
    Registered User
    Join Date
    12-02-2012
    Location
    Islamabad,Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    62

    Pick up the relevant rate through formula

    Hi

    I have attached the excel sheet and written my problem plz read and find the best solution for me.
    thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Pick up the relevant rate through formula

    hi there. looks like your formula's working fine? you could shorten it to this though
    =VLOOKUP(B10,E3:G6,IF(C10="Staff",2,3),0)*F10

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    12-02-2012
    Location
    Islamabad,Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: Pick up the relevant rate through formula

    Thanks a lot its really working good.I want to discuss one point that may happen in future if concessional rate is applicable for 2 categories staff and jobs and market rate for other 2 categories (DS & MS). which formula will be better.



    Quote Originally Posted by benishiryo View Post
    hi there. looks like your formula's working fine? you could shorten it to this though
    =VLOOKUP(B10,E3:G6,IF(C10="Staff",2,3),0)*F10

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Pick up the relevant rate through formula

    glad to help. 2 would still be manageable. assuming "Staff" & "VIP" gets concessional rates:
    =VLOOKUP(B10,E3:G6,IF(OR(C10={"Staff","VIP"}),2,3),0)*F10

    if you get a long list, then you should probably put them in a table with values 2 or 3 beside them. for eg.

    Staff 2
    VIP 2
    Job 3
    DS 3

    then do a VLOOKUP, assuming table in K3:L6:
    =VLOOKUP(B10,E3:G6,VLOOKUP(C10,K3:L6,2,0),0)*F10

+ 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