View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
John Bundy John Bundy is offline
external usenet poster
 
Posts: 772
Default In data range select final value.

Try this one out
=IF(A1<=150,A1*1,IF(A1<=300,A1*2,IF(A1<=500,A1*3,I F(A1<=1000,A1*4,IF(A1<=1500,A1*5,A1*6)))))
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"skydiving3" wrote:

I was trying to use the IF statement to do the following, but it would not
work. I want to enter a number in cell A1. Then cell B1 will look that
number up (cell A1) in a table:
0-150 = 1
151-300 = 2
301-500 = 3
501-1000 = 4
1001-1500 = 5
1501-over = 6
Once cell B2 finds the right number (1,2,3,4,5, or 6) it will multiply cell
A1*B1.
Please let me know if more explanation is needed. I appreciate the help.