JaketheMan Posted March 10, 2009 Posted March 10, 2009 Hey all, I am trying to use an "OFFSET" function in a nested "IF OR" statement, but no matter what I do, my results are always the same. I am left with a ugly "#VALUE" error, I don't know if it's because of the "OFFSET" function or what, maybe some of you can take a look at my formula and tell me where I've gone wrong! =IF(OR(Left_Fin_End=1),(Right_Fin_End=1),OFFSET(M!Counter_Top_Buildup_Edges,0,1,1,1)) Quote
JaketheMan Posted March 10, 2009 Author Posted March 10, 2009 What programming language is this? It's an Excel formula, I figured out what was wrong, I had too many parenthesis. Correct formula: =IF(OR(Left_Fin_End=1,Right_Fin_End=1),OFFSET(M!Counter_Top_Buildup_Edges,0,1,1,1),"False") Quote
MaxwellEdison Posted March 10, 2009 Posted March 10, 2009 When writing very long Excel Formulas, remember you can use Alt+Enter to add a line break in the formula entry to allow you to better line up multiple parenthetical expressions. Quote
JaketheMan Posted March 10, 2009 Author Posted March 10, 2009 When writing very long Excel Formulas, remember you can use Alt+Enter to add a line break in the formula entry to allow you to better line up multiple parenthetical expressions. Thanks, ya this helps- it basically puts a return in your formula so that it doesn't extend for 10 screen lengths. ----------------------------------- Quote
chulse Posted March 10, 2009 Posted March 10, 2009 When writing very long Excel Formulas, remember you can use Alt+Enter to add a line break in the formula entry to allow you to better line up multiple parenthetical expressions. Nice tip - I didn't know that... Quote
Attila The Gel Posted March 10, 2009 Posted March 10, 2009 Why doesn't this alt+Enter work in autocad when you want to give your Layerstate a description? Quote
MaxwellEdison Posted March 10, 2009 Posted March 10, 2009 Sounds like a question for Autodesk, Attila. Quote
MaxwellEdison Posted March 10, 2009 Posted March 10, 2009 Look at the line above, Counter_Top_Buildup_Edges got seperated to 2 lines. Quote
JaketheMan Posted March 10, 2009 Author Posted March 10, 2009 Look at the line above, Counter_Top_Buildup_Edges got seperated to 2 lines. That's not what the problem was, infact those "spaces" were placed in here after I copied and pasted from Excel, what really was wrong was the "(parenthesis)" I had one too many. Attila why do you have such smart ass comments on every single forum thread? And for your information, people still use Excel in their everyday lives, it's a powerful program especially when working with databases. Quote
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.