tourless
Board Regular
- Joined
- Feb 8, 2007
- Messages
- 144
- Office Version
- 365
- Platform
- Windows
Hi Folks.
I've got a bunch of data sitting in column M where there are two rows between like values. I want to traverse this data (figure from the top down) and say... when I hit a blank cell look to the value above and place a formula in that blank cell but one column to the left (column L). The formula will take the value in column J for that blank row, and multiply that by a number which is dependent on the value above the blank cell in column M. You'll notice the multiplier changes depending on the value of M and my list is finite. For that I could just say If the value above the blank M cell is 252000300 then the multiplier is 20, if M cell value is 252000315 then the multiplier is 25, etc.
I need to know how to traverse the double blanks and offset my formula.
This...
Needs to become this...
I've got a bunch of data sitting in column M where there are two rows between like values. I want to traverse this data (figure from the top down) and say... when I hit a blank cell look to the value above and place a formula in that blank cell but one column to the left (column L). The formula will take the value in column J for that blank row, and multiply that by a number which is dependent on the value above the blank cell in column M. You'll notice the multiplier changes depending on the value of M and my list is finite. For that I could just say If the value above the blank M cell is 252000300 then the multiplier is 20, if M cell value is 252000315 then the multiplier is 25, etc.
I need to know how to traverse the double blanks and offset my formula.
This...
J | K | L | M |
9.25 | 252000300 | ||
14.25 | 252000300 | ||
-4.50 | 252000300 | ||
-11.00 | 252000300 | ||
8.00 | |||
-30.50 | 252000315 | ||
-41.50 | 252000315 | ||
-22.50 | 252000315 | ||
-15.25 | 252000315 | ||
-109.75 | |||
1.00 | 252000320 | ||
-0.50 | 252000320 | ||
8.50 | 252000320 | ||
0.75 | 252000320 | ||
9.75 | |||
Needs to become this...
J | K | L | M |
9.25 | 252000300 | ||
14.25 | 252000300 | ||
-4.50 | 252000300 | ||
-11.00 | 252000300 | ||
8.00 | =J5*20 | ||
-30.50 | 252000315 | ||
-41.50 | 252000315 | ||
-22.50 | 252000315 | ||
-15.25 | 252000315 | ||
-109.75 | =J11*25 | ||
1.00 | 252000320 | ||
-0.50 | 252000320 | ||
8.50 | 252000320 | ||
0.75 | 252000320 | ||
9.75 | =J17*216 | ||