Jump to content

My formula is wrong?


Recommended Posts

Posted

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!:shock:

 

=IF(OR(Left_Fin_End=1),(Right_Fin_End=1),OFFSET(M!Counter_Top_Buildup_Edges,0,1,1,1))

Posted

What programming language is this?

Posted

:o

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")

Posted

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.

Posted
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.

 

-----------------------------------

Posted
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...

Posted

Why doesn't this alt+Enter work in autocad when you want to give your Layerstate a description?

Posted

Sounds like a question for Autodesk, Attila.

Posted

unter_Top_Buildup

Whats 'unter'

Posted

Look at the line above, Counter_Top_Buildup_Edges got seperated to 2 lines.

Posted
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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...