Thread: Value Fill
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Value Fill

Put this in B3 and drag down as required:-

=IF(AND(A3=1,A3<=A$1),575,IF(AND(A3=A$2,A3<=105) ,625,"Unspecified"))

because you don't sat what happens for other values in ColA it will return
Unspecified.

Mike

"Richard" wrote:

Is there a way that I can have Excel assign a value in one column based on
the value in another column. For example A1 has a value of 15 and A2 has a
value of 90. I would like Excel to recognize that anything in the A column
with a value of 1 to 15 should have a B column value of 575 and any A column
value between 90 and 105 should have a value of 625.

I hope that makes sense. I'm not sure if I need to set up an array or if a
simple formula would suffice. Ideas appreciated to avoid typing out every
possible value of column A and associated column B value in a seperate
worksheet.