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.
if between (width, 3",5")
if matches (type, window, door, sliding)
list ((width*2)+(height*2)/2,4" )
Any ideas of where I am going wrong? Thanks!