Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > PC based Database Applications > Microsoft Excel > Evaluating a number to get score

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-19-08, 16:37
Roo06 Roo06 is offline
Registered User
 
Join Date: Sep 2008
Posts: 2
Evaluating a value to get score from a range

I am trying to assign a score based on a value from a cell by using a formula.
I tried to use a "nested if" but I have 10 possible values and the limit is 7.
Plus it is messy and hard to read. Is there a easier way?

Below is an example:
Column B has my values and C is where I want the score
B C
Value1 Score
10
20
30
25
15

The score is based on a range stored on another worksheet:
A B C
Score MinValue MaxValue
1 0 10
2 11 20
3 21 30
...up to
10 91 100

Last edited by Roo06 : 09-19-08 at 16:57.
Reply With Quote
  #2 (permalink)  
Old 09-20-08, 08:05
georgev georgev is offline
SQL Apprentice
 
Join Date: Jan 2007
Location: hiding
Posts: 8,131
Have you tried a VLookup?
__________________
George
You only stop learning when you stop asking questions.
Reply With Quote
  #3 (permalink)  
Old 09-30-08, 12:29
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Posts: 82
VLOOKUP would work, but you'd need to change your Scores table a little. Move the Score column to the end of the range, and name it for ease of reference.
Reply With Quote
  #4 (permalink)  
Old 09-30-08, 15:55
Roo06 Roo06 is offline
Registered User
 
Join Date: Sep 2008
Posts: 2
Thanks

That worked like a charm. I have never used VLookUp but its seems really powerful.
Reply With Quote
  #5 (permalink)  
Old 09-30-08, 18:22
weejas weejas is offline
Registered User
 
Join Date: Sep 2006
Posts: 82
VLOOKUP is great. I have a suite of forms that use it to validate and translate user input!
HLOOKUP is similarly powerful, and works at right angles to VLOOKUP. It gets used less, though, because we're more familiar with lists and tables that are vertical rather than horizontal.
Reply With Quote
  #6 (permalink)  
Old 10-01-08, 04:54
georgev georgev is offline
SQL Apprentice
 
Join Date: Jan 2007
Location: hiding
Posts: 8,131
Personally I hate VLookup, but only because when I've used it it's been across worksheets containing 60K records and any update anywhere forces full cell recalculation... Taking upwards or 15 minutes
__________________
George
You only stop learning when you stop asking questions.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On