Hello,
New to the forum and I was just wondering if anyone can help me write a formula as I am baffled by it. I am trying to generate numbers so that I can utilise these later to generate AutoCAD script, essentially this will help in providing co-ordinates for any given scenario.
I am trying to factor in different scenarios, although they may not always be used and I am trying to define this so excel can identify exactly what to use and where. Shown below is the problem I am stuck with
First Spacing - 250
Intermediate Spacing 1 - 310
No. of Intermediate 1 spacings - 7
Intermediate Spacing 2 - 200
No. of intermediate 2 spacings - 4
Intermediate Spacing 3 - 350
No. of Intermediate Spacing 3 - 3
I am trying to generate a column that will list spacing 1 to n and then in the next column generate the height (eg... 1 = 250, 2 = 560, 3 = 870 etc). I can write an expression if I am only using 1 spacing, but adding the second and third has confused me as I am unsure how to define and set the limits so that once it has gone past the first number of spacings it then looks at the second and adds them to the first to continue the running tota, then once the second has been utilised fully it will then utilise the third etc.
I have tried looking at IF commands along with AND commands but I am unsure how to express it in a matter that will work for any given situation. I have tried using (x-(x-1) where 1 is the spacing quantity etc to define the spacing number and x-1>=0 as the limit (so when x-1<0 it looks to the new set of numbers), however the problem with this is defining 1 (or 2, or 3) as something more than numerical values, I need to relate them back so excel knows how to determine them from the info provided (as previously shown)
Can anyone help? Please
Thanks in advance
Colin
Bookmarks