+ Reply to Thread
Results 1 to 8 of 8

nested lookups or ???

  1. #1
    Registered User
    Join Date
    06-12-2008
    Posts
    13

    nested lookups or ???

    Trying to make sales scoring sheet that automatically assigns a score from a table that has different scoring scales and assigned points based on scale.

    Something like this...

    scale sales% points
    5 50 0
    5 75 3
    5 100 5
    10 50 0
    10 75 7
    10 100 10
    15 50 5
    15 75 10
    15 100 15

    The form would have a row where a manager could enter lets say...

    d1=scale 5, 10, 0r 15
    d2=% of sales made
    d3=point score returned from column c

    I've tried using varying degrees of nested "IF" and "Lookups", but I either exceed the magic 7 number error or I enter too many arguments.

    Help?

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598
    Have a look:
    nedezero.xls
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    06-12-2008
    Posts
    13
    Quote Originally Posted by protonLeah View Post
    Have a look:
    Attachment 33755
    Thanks!

    I'll play with that for a while and see if I can get it to work.

    One thing though,

    When the % sales is entered, it may fall between the ranges.

    For instance, 77% would be in the range for 75% to 100%, and scored thusly.

    When I entered a % like that, it returned #n/a.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    If your chart is complete and it's not going to expand, a simple tiered lookup suffices...less elegant, but workable.
    Last edited by JBeaucaire; 01-14-2009 at 03:13 PM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Registered User
    Join Date
    06-12-2008
    Posts
    13
    Quote Originally Posted by JBeaucaire View Post
    If your chart is complete and it's not going to expand, a simple tiered lookup suffices...less elegant, but workable.
    Thanks.

    That's where I went before. But in the actual table, there's 10 different score bands, so I exceed the 7 rule.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    Well, you have to think ahead. That sounds more like a simple Table format. Once your data is in a table, an INDEX/MATCH process will do the trick.

    Attached.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-12-2008
    Posts
    13
    Quote Originally Posted by JBeaucaire View Post
    Well, you have to think ahead. That sounds more like a simple Table format. Once your data is in a table, an INDEX/MATCH process will do the trick.

    Attached.
    Thanx!

    I'll give that a whirl!

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    If you're new to INDEX/MATCH, it's actually a small formula that expands greatly when actually used, making them look quite confusing. I have to step back and look at each piece all the time to keep it straight in my head.

    This web site I read frequently when doing an INDEX/MATCH because it has extremely clear examples.

    http://contextures.com/xlFunctions03.html

+ 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