14-Alexandrite
January 19, 2025
Solved
How to generate a table from input using programming
- January 19, 2025
- 1 reply
- 1251 views
Hi there ,
I need to create this table using programing

I wrote this program , but it doesn't give me the answer I want:

What I wrote in the program is
if the bottom value is between z and d .....> the layer is drained and use the angle (alfa)
if the bottom is greater than d and smaller than z ....> the layer is partially drained and use the angle (alfa)
otherwise write the layer is not drained
I need the answer two have 3 columns
1# ( layer ( drained-partially- not drained)
2# the angle if it is drained or partially drained .. if not drained show zero
3# if it is possible this column as well which is the layer kind it is in the table in the sheet as input

Thanks
Yusra
The sheet is attached prime 10



