+ Reply to Thread
Results 1 to 12 of 12

VLOOKUP advice

  1. #1
    Registered User
    Join Date
    09-22-2007
    Posts
    81

    VLOOKUP advice

    I hope I have typed it correctly according to the rules. I wanted to know how exactly this code understands to minus the percentage in C33.

    I love the idea of it being able to search for a word from a group and adjusting the values.

    Please Login or Register  to view this content.

    With this type of formula I could take a trade price and make it estimate a price according to what kind of product it is, correct?
    Food - 50%
    Treats - 80%
    etc
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I wanted to know how exactly this code understands to minus the percentage in C33.
    It's not actually subtracting, it's multiplying your price by the percentage to give a fractional amount....
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-22-2007
    Posts
    81
    Also with the formula

    £10 5% discount calculates £0.50

    I would rather it work out the 5% discounts

    £10 5% discount calculates £9.50


    Any ideas?

  4. #4
    Registered User
    Join Date
    09-22-2007
    Posts
    81
    I see so it is the old divide the numerator by the denominator etc

    cheers, just get my head around switching it around

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Will this not do it?

    =F2-VLOOKUP(A2,$B$33:$D$36,3,FALSE)*$F2

    Where F2 is the Price and the result is the discounted price... (ie. original price - discount).

  6. #6
    Registered User
    Join Date
    09-22-2007
    Posts
    81
    Nice one! lol just runs off your hands lol


    One thing though, why doesn't it allow me to adjust the box I tried to select the

    [code] =F2-VLOOKUP(A2,$B$33:$C$36,3,FALSE)*$F2 [code]

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Not sure what you mean by "adjust the box"?

  8. #8
    Registered User
    Join Date
    09-22-2007
    Posts
    81
    Sorry wasn't very clear. I removed one of the discounts in the selection so there was only one discount to be applied.

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Still unsure what you are trying to say....

    Do you want to replace the F2 with an actual value?

    Please elaborate.

  10. #10
    Registered User
    Join Date
    09-22-2007
    Posts
    81
    \1
    \1

    Just want to change the selection, please check out the screen prints

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    It looks to me that you might just want to change the column index to 2

    e.g

    =F2-VLOOKUP(A2,$B$33:$C$36,2,FALSE)*$F2

    Is that what you're meaning?

  12. #12
    Registered User
    Join Date
    09-22-2007
    Posts
    81
    ah makes sense! Yes I think so

    Cheers mate!

+ 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