Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 148
Default If the total = between 17-20 give it a score of 5, and so on

Not good with "if statments" can anyone help with the problem

If the total of one cell is between 17-20 than give it a score of 5 but if
the total is between 13-16 than give it a score of 4 and so on down to a
score of 1
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default If the total = between 17-20 give it a score of 5, and so on

Try this to score the contents of cell A1:

=LOOKUP(A1,{0,1,5,9,13,17;0,1,2,3,4,5})

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Heather" wrote in message
...
Not good with "if statments" can anyone help with the problem

If the total of one cell is between 17-20 than give it a score of 5 but if
the total is between 13-16 than give it a score of 4 and so on down to a
score of 1



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 148
Default If the total = between 17-20 give it a score of 5, and so on

thank you that worked well, I don't quite know exactly how it worked but it
did.

HW

"Ragdyer" wrote:

Try this to score the contents of cell A1:

=LOOKUP(A1,{0,1,5,9,13,17;0,1,2,3,4,5})

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Heather" wrote in message
...
Not good with "if statments" can anyone help with the problem

If the total of one cell is between 17-20 than give it a score of 5 but if
the total is between 13-16 than give it a score of 4 and so on down to a
score of 1




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default If the total = between 17-20 give it a score of 5, and so on

It's a simple, self-contained, Lookup formula, where the values are included
within the formula itself, instead of being in a separate datalist, located
elsewhere on your sheet.

You could have just as well created this list, in an out-of-the-way location
of your sheet, say Y1 to Z6:

Y Z
1 0 0
2 1 1
3 5 2
4 9 3
5 13 4
6 17 5

And then used any one of these formulas:

=LOOKUP(A1,Y1:Z6)

=VLOOKUP(A1,Y1:Z6,2)

=INDEX(Z1:Z6,MATCH(A1,Y1:Y6))

And of course, all of the above formulas could also be constructed to be
self-contained, where no *outside* datalist would be necessary.


And finally, thank you for the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Heather" wrote in message
...
thank you that worked well, I don't quite know exactly how it worked but
it
did.

HW

"Ragdyer" wrote:

Try this to score the contents of cell A1:

=LOOKUP(A1,{0,1,5,9,13,17;0,1,2,3,4,5})

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Heather" wrote in message
...
Not good with "if statments" can anyone help with the problem

If the total of one cell is between 17-20 than give it a score of 5 but
if
the total is between 13-16 than give it a score of 4 and so on down to
a
score of 1






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
Give RELEVANT responses to questions. DO NOT give usless list pmartin Excel Worksheet Functions 2 July 6th 06 06:08 PM
want a formula give total quanitity break up frm other sheet Aristotle Excel Worksheet Functions 1 June 23rd 06 09:01 AM
If formula with score total kim Excel Worksheet Functions 1 February 8th 06 05:47 PM
If cell equals, give total of another cell Lori Burton Excel Discussion (Misc queries) 1 January 12th 06 03:48 PM
calculate which cells in column A will give me the total of column Ken Excel Worksheet Functions 4 January 6th 05 06:25 AM


All times are GMT +1. The time now is 01:10 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"