Help with dynamically dividing and adding

JakkeJakobsen

Board Regular
Joined
Sep 10, 2014
Messages
94
So, I am working with a sheet that has a certain number in each column KL-LM, only if the number in JX is different from the one in the row above. So JX3 is 1850, that means KL to LM will have this number times a factor. In JX43 there is 1450. Now as you can see in the screenshot, KF3 is 6607, and KF43 is 4028. Now, what I want to happen is a linear reduction from KF3 to KF43, so basically there are 38 rows between that should have 6607-4028/rownumber+3 (or there abouts).

But I am unsure how to do this in formulas. This is 100% dynamic, meaning it doesn't have to be 1850 and 1450 in JX, and it doesn't have to be JX3 and JX43 (well it must be JX3 as it is the start). Further down this also happens, JX64 is 1350, so KF64 is 3750.

98dAbew.jpg

Here is how the sheet looks like.

The reason I am doing this is to use Excel to "draw" an image of a bowling lane, to show where the oil on the lane is put down. Since this is done with a machine with a high rpm brush, it gets dragged down the lane and smoothed out, so where the machine puts the oil down isn't equal to where the oil is when the lane is done being conditioned with said oil and machine.
waWAycI.jpg

This is how the sheet looks like with the raw data put in.

blue%20oil%20lanes.jpg

This is how the oil looks like on the lanes in professional bowling as seen on TV. Us mortals don't have access to the blue additive, so for us it is invisible. That is why sheets like the one I made are used to show where the oil is put down, so the players can adjust accordingly. Quick intro: Longer oil means you have to play straighter, shorter means more violent hook, but the width of the pattern also decides where you play, a wide short pattern forces players to play down the edge, while a more narrow pattern lets players play deeper in the lane, hooking it more. The difficulty of a pattern is the ratio between the center and the edge of the lane, sideways. Lengthwise most patterns are around 1/5 to 1/3 in ratio, 3 times more in the start than the end of the pattern.

Cheers for any help!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
DN863FS.jpg


This is how it would look from the side on board 20 (column KT). I need a way to fill in the values between each of the numbers I provided, while the position of them downwards is dynamic.
 
Upvote 0
I was thinking a bit, and this way is just as easy I think, as I use these numbers to multiply the matrix/array I got anyways, so we can use a single column to calculate these. Provided two examples to show how these numbers can appear: Totally random in amount (not totally random, but lets assume that), and totally random in row-number (this is completely random between row 3 and row 243.
1850The initial value
1783.32These values need to be calculated.
1716.66-
1649.99-
1583.33-
1516.66-
14502nd value
1350-
1250-
11503rd value

<tbody>
</tbody>


1850The initial value
1650These values need to be calculated.
14502nd value
1392.84-
1335.7-
1278.56-
1221.42-
1164.25-
1107.14-
10503rd value

<tbody>
</tbody>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,603
Messages
6,125,782
Members
449,259
Latest member
rehanahmadawan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top