+ Reply to Thread
Results 1 to 3 of 3

Help with vlookup and using the result in the same formula

  1. #1
    Registered User
    Join Date
    12-09-2011
    Location
    Gold Coast Queensland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Cool Help with vlookup and using the result in the same formula

    Hello

    I have a spreadsheet that i have had to create for sales commissions. I have 13 different commission structures. I have used vlookup to find out what percentage of commission they should receive. My question is, can i use the result of vlookup (in the same cell) to get a $ figure instead of just the percentage?
    Attached Files Attached Files
    Last edited by JadeLu; 12-09-2011 at 05:11 AM. Reason: changing title

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Help with vlookup and using the result in the same formula

    Hello,

    In cell F7, use

    =VLOOKUP('Melbourne Branch'!B7,'Commission Rates'!$A$3:$B$15,2,TRUE)*B7

    copy down.

    Your original formula did not have absolute addressing (the dollar signs) for the lookup range, so when copied down, the range in the formula changed. Also, you want to look up a value that is not an exact match, but falls within a range. Therefore, the last parameter of the Vlookup should be a "TRUE". You had a multiplication of two cells instead. It happened to produce the same result, but that was pure accident.

    In any case, the Vlookup as above returns the percantag, which is then multiplied by the value in column B.

    Format column F as $.

    cheers,

  3. #3
    Registered User
    Join Date
    12-09-2011
    Location
    Gold Coast Queensland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Help with vlookup and using the result in the same formula

    Thank you very much, i have now worked it all out and have the formula working
    Last edited by JadeLu; 12-09-2011 at 05:32 AM. Reason: I have now got the above formula working

+ 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