+ Reply to Thread
Results 1 to 9 of 9

Look up using percentages

  1. #1
    Registered User
    Join Date
    02-10-2007
    Posts
    97

    Look up using percentages

    Guys need a look up table here i think hopefully somebody can help
    i have a figure of 395.00 euros to start and need to calculat percentages when i enter a certain figure
    so if i enter a figure between 0-5 i get 90% of 395 to reclaim back
    6-10 i get 70 % of 395
    10-15 40 %
    15-20 20 0%
    20 above 0%

    sorry never been good with working out percentages

    cheers if you can help
    Last edited by dodger999; 12-04-2009 at 12:15 PM.

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Look up using percentages

    What happens if you get 10? According to your table, you get either 70% or 40% back.
    Assuming you meant 11-15 (and so on), use =LOOKUP(B1,{0;6;11;16},{.9;.7;.4;0})*A1, where A1 has your 395 and B1 has your other figure.

  3. #3
    Registered User
    Join Date
    02-10-2007
    Posts
    97

    Re: Look up using percentages

    sorry 11 - 15 and 16-20

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Look up using percentages

    Edit to previous formula (didn't see the 20%, misread as 0% with the space)
    =LOOKUP(B1,{0;6;11;16;21},{.9;.7;.4;.2;0})*A1

  5. #5
    Registered User
    Join Date
    02-10-2007
    Posts
    97

    Re: Look up using percentages

    that was a great help thank you very much

  6. #6
    Registered User
    Join Date
    02-10-2007
    Posts
    97

    Re: array problem

    sorry guys i know ive entered solved but how did you get to do 2 arrays in the formula when i try it goes at the beginning of the argument

    thanks

  7. #7
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Look up using percentages

    I don't quite understand. I just typed them in. If you're outside the US, you might have to switch ; with , in the formula. If you still have problems, could you please post a sample workbook?

  8. #8
    Registered User
    Join Date
    02-10-2007
    Posts
    97

    Re: Look up using percentages

    Ok i got you i thought they were done using CSE method no problems here no thanks once again for your time and patience im still learning

  9. #9
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Look up using percentages

    No problem. The CSE method is to make a normal formula an array formula, which is different than manually entering an array. If you have a function that normally applies to one cell at a time and you want to apply it to a range, such as =Day(A1:A10)>5, that's when CSE comes into play. Note, though, that most array formulas can be taken care of with Sumproduct or, in the case of Excel 2007, perhaps SUMIFS, COUNTIFS, or AVERAGEIFS.

+ 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