Your question, your audience. Choose who sees your identity—and your question—with question security.

Attached is a file where I need to change a given shape based on certain parameters.

The input data shall be copied from another software to columns A and B below row 10

Based on values from C1 to C6 a new shape has to be generated. (C1 and C2 shall be manually entered)

The formulas for the new shape is entered in columns D and E. Presently only column D changes.

The problem is that the size of the input data varies and so does the location of '0' and the formulas depend on the position of zero. (I have provided a second set of data for checking purposes in columns A and B)

I would like to modify the formulas so that the shape is correctly modified. This shape modification can be visualised by changing the values in C1 and C2 as suggested in the file.

Note: This has to be done without VBA.

Saqib

The input data shall be copied from another software to columns A and B below row 10

Based on values from C1 to C6 a new shape has to be generated. (C1 and C2 shall be manually entered)

The formulas for the new shape is entered in columns D and E. Presently only column D changes.

The problem is that the size of the input data varies and so does the location of '0' and the formulas depend on the position of zero. (I have provided a second set of data for checking purposes in columns A and B)

I would like to modify the formulas so that the shape is correctly modified. This shape modification can be visualised by changing the values in C1 and C2 as suggested in the file.

Note: This has to be done without VBA.

Saqib

File attached

Shape-modifier.xlsx

Shape-modifier.xlsx

```
-2.1302 62.9612
-2.027 63.03
-1.827 63.03
-1.452 62.78
-0.941 62.78
-0.813 62.524
0 62.524
0.813 62.524
0.941 62.78
1.452 62.78
1.677 62.93
2.4114 62.93
```

For the current values & formulas, i have attached the modified formulas.

There is a Helper Column which i have used for getting the desired results.

For the getting the correct value in C4, below formula is used:

=INDEX($B$11:$B$24,MATCH(0

Hope this helps.

Tils.

Copy-of-Shape-modifier.xlsx

Saqib

Thanks

Frankly speaking, i didn't understand exactly what you are trying to say, but i found out one mistake in my formula which i have corrected. Below is the formula to be used in cell D11 and to be dragged down:

=IF(ABS(F11)<2,A11,IF(F11=

Tils.

Copy-of-Shape-modifier.xlsx

About the "Didn't understand" part, if you are referring to my last comment then try the data from my second comment.

Tils.

Copy-of-Shape-modifier.xlsx

I shall now write a routine to automate the import and export. Unfortunately the CAD topic area is not so active otherwise I would have posted this part there and someone could have had a chance to bag a few points.

Saqib

All Courses

From novice to tech pro — start learning today.

Copy-of-Shape-modifier.xlsx