View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] matt.waterman@gmail.com is offline
external usenet poster
 
Posts: 2
Default Range Manipulation Question

Dear All

I have a worksheet with 3 columns (see below). I need to cycle through
the data and for each group of rows with the same value in column 1, I
perform a stepwise linear interpolation to determine the value in Col3
corresponding to a value of 30 in Col2. I have a function set up for
the interpolation, but I am stuck on the code for cycling through the
range? Any help would be much appreciated.

Thanks
Matt

Col1 Col2 Col3
BH-01 14.8 0.08
BH-01 28.5 0.85
BH-01 42.1 2
BH-01 82.4 19
BH-01 100 38.1
BH-02 14.9 0.08
BH-02 24.2 0.85
BH-02 34.7 2
BH-02 50.7 4.75
BH-03 22.4 0.08
BH-03 31.6 0.15
BH-03 41.2 0.25
BH-03 56.4 0.43
BH-03 81.8 0.85