Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Derek
 
Posts: n/a
Default Returning a value for a number in a range

With my lacklustre Excel skills, I am struggling to build a table that allows
me to score a number based on its location in a set of ranges. For example, I
want to score any percentage between 90% and 110% with a 3, anything between
80% and 90%/ 110% and 120% with a 2, and so on. Any ideas on how I can do
this easily?
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=MIN(3,4-(CEILING(ABS(1-A1)*10,1)))


another:

=LOOKUP(ABS(1-A1),{0,3;0.1,2;0.2,1;0.3,0})


In article ,
"Derek" wrote:

With my lacklustre Excel skills, I am struggling to build a table that allows
me to score a number based on its location in a set of ranges. For example, I
want to score any percentage between 90% and 110% with a 3, anything between
80% and 90%/ 110% and 120% with a 2, and so on. Any ideas on how I can do
this easily?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Expand Named Range - when size of the Range exceeds Snig Excel Discussion (Misc queries) 1 July 7th 05 01:46 PM
Formula for displaying the lowest number of a range? coal_miner Excel Worksheet Functions 1 April 25th 05 02:54 PM
Need help Returning the cell addy/index of the first non-zero number Dreamer Excel Worksheet Functions 1 April 22nd 05 12:25 AM
How to add one number to a range of numbers BatonRougeguy Excel Worksheet Functions 1 February 16th 05 06:47 AM
Returning a Value to a Cell Based on a Range of Uncertain Size amc422 Excel Worksheet Functions 7 November 14th 04 03:03 PM


All times are GMT +1. The time now is 09:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"