I am trying to get a formula for window flashing. We use 4" and 6" Tyvek flashing tape around all 4 sides of the window opening. Depending on if it is a 2x4 or 2x6 wall, it's 4" flashing or 6" flashing.
This is what I am working on, but it isn't reporting. I can do a general formula but it doesn't distinguish between 2x4 or 2x6.