
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I am in need of help with a project. I am creating a floor system, and using different schedules to evaluate the system. I have all the structural members I want created and added, along with a schedule for each. The problem is very simple, but I have no coding experience. I created a formula column that takes the inches of length, and multiplies that by the unit cost, and the result is the multiplied by the quantity. No problem there it works fine. and gives a valid result for material cost.
What I need to do now is create another formula column that can give an approximate number of framing members that will be required. On the schedule you can see that there are both Joists and Beams, because they are both cut from the same 2 x 10 stock, and need to be purchased together. How can I have this formula column express that the beams are 3 ply, so the length of 2 x 10 you need is actually to be multiplied by 3, but that the joists are only 1-Ply and the length is the same as the automatic property.
So to get the approximate number of 2 x 10 x 16 pieces of lumber I need for the Joists is easy, just divide the total length in inches of all of them by 192, which would be 16'-0" in inches. But what about the Beams? The inches wood in a 3-ply beam is 3 times greater than that in a joist.
Could an if/then statement evaluate the "Style" Column, and when it sees "2 x 10 Joist", it returns the length unaltered, and when it sees "3-Ply 2 x 10 Beam" it multiplies the value by 3?
I tried several times and just cannot know what is and is not a syntax issue, or how to sort it out.
Thank you
Solved! Go to Solution.