View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Vika.F Vika.F is offline
external usenet poster
 
Posts: 1
Default Macro that runs entered value through "low" and "high" range


Is there a way to write a macro that can take the entered value from th
cells A2-A10 and run it through the "low" and "high" range an
automatically enter the correct codes to cells B2-B10 in the dat
sheet.

code low high
1 0 5
2 6 10
3 11 15
4 16 20
5 21 25
6 16 30
7 31 35
8 36 40
9 41 45
10 46 50
11 51 55

For Example:
A B
7 2
3 1
53 11
42 9
32 7
53 11
14 3
28 6
5 1

Thank you very much for any hel

--
Vika.
-----------------------------------------------------------------------
Vika.F's Profile: http://www.excelforum.com/member.php...fo&userid=2625
View this thread: http://www.excelforum.com/showthread.php?threadid=39553