I have been searching the boards with no luck as of yet, hopefully someone can point me in the right direction.
I am trying to get the largest height characters that will still fit within a given width (for engraving on a CNC machine). So what I need to happen is the user puts in a height, and that height will shrink itself until the math works out so it fits the width. What I have so far is:
E2 = character height
E4/E6/E8/E10/E12/E14 = each of 6 engraving strings width based on the E2 height
E15 = maximum width available
G15/I15 = unusable width
J19 = "=IF(E15-G15-I15<=MAX(E4,E6,E8,E10,E12,E14)+0.1,0.0001,0)"
So if the largest string(plus 1/10 of an inch) is too wide to fit the usable width than I'd like it to subtract .0001 from E2 and try it all again.
I know this is creating a circular reference, but I'm not sure how to get around it.
Thank you in advance for any and all replies.
I am trying to get the largest height characters that will still fit within a given width (for engraving on a CNC machine). So what I need to happen is the user puts in a height, and that height will shrink itself until the math works out so it fits the width. What I have so far is:
E2 = character height
E4/E6/E8/E10/E12/E14 = each of 6 engraving strings width based on the E2 height
E15 = maximum width available
G15/I15 = unusable width
J19 = "=IF(E15-G15-I15<=MAX(E4,E6,E8,E10,E12,E14)+0.1,0.0001,0)"
So if the largest string(plus 1/10 of an inch) is too wide to fit the usable width than I'd like it to subtract .0001 from E2 and try it all again.
I know this is creating a circular reference, but I'm not sure how to get around it.
Thank you in advance for any and all replies.