James Russell Posted March 3, 2010 Share Posted March 3, 2010 I was attempting to make a cutting list by doing a lookup on my extrusions with Type is extrude. All is well and good and I can output the values for =height =width and depth by another formula mentioned in the forum, =volume/(height*width), which works effectively. I am now attempting something much more intense and I hope someone can tell me why it will not work. I want to return the highest value from the height, width or depth as a stand alone formula. What I have come up with is this: =IF(WIDTH>HEIGHT, WIDTH, IF(HEIGHT>VOLUME/(WIDTH*HEIGHT)), HEIGHT, VOLUME/(WIDTH*HEIGHT)) The first if statement alone works fine if it is =IF(WIDTH>HEIGHT, WIDTH, HEIGHT) but as soon as the second IF statement is added it will not work, is it something to do with my syntax or can two ifs not be used? Cheers, James Quote Link to comment
Pat Stanford Posted March 3, 2010 Share Posted March 3, 2010 I think you have your parentheses in the wrong place. Try this version: =IF(WIDTH>HEIGHT, WIDTH, IF(HEIGHT>VOLUME/(WIDTH*HEIGHT), HEIGHT, VOLUME/(WIDTH*HEIGHT))) Note that one paren was moved to the end instead of after the first V/(W*H) Quote Link to comment
James Russell Posted March 3, 2010 Author Share Posted March 3, 2010 Thanks Pat, it's always just one little sucker who has to be in the wrong place. Cheers. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.