Strange Excel Worksheet Function

I have been given a very large Excel workbook with complicated and nested worksheet functions.
Supposedly, there is an error in the workbook when a particular set of variables are entered.  At this point I am just trying to understand what is going on in this workbook when I noticed the following worksheet function.
Is this a legitimate function?  

Who is Participating?
Saqib Husain, SyedEngineerCommented:
From the looks of it, it appears to be a long formula wrapped into multiple lines.

Unless the result of this formula is an error,
Select the cell
Press F2
Either the contents would be preceded by an apostrophe '  or it would be a formula spanning multiple lines.
abbas abdullaCommented:
The syntax of function is not proper and I can't figure out what was author trying to get. If there is no dependencies on this cell it might be user was testing something or doing trials error..
Definitely not as posted.

It won't even enter as a formula - only as a text string.

For further assistance, the easiest option would be to post the workbook, or a sample thereof.

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

rrhandle8Author Commented:
Thanks for the confirmation.  Oddly, the cells with this formula actually update when other cells are updated, but that is not my concern right now. Two of you both confirmed it is not a legitimate function.

I am going to post another question about this workbook in a few minutes.
JohnBusiness Consultant (Owner)Commented:
It needs to look something like this, I think. I have taken this from a working sheet.


It is taking the first 4 characters of a text string for the cell where the formula resides
rrhandle8Author Commented:
Saqib Husain is right!  It is a God awful formula. I am not touching this project.
LOL - Good catch Saqib Husain, Syed!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.