Strange Excel Worksheet Function

rrhandle8
rrhandle8 used Ask the Experts™
on
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?  

=IFERROR(LEFT(IF(G3,$G3&"
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi,
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..
AlanConsultant

Commented:
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.

Alan

Author

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.
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
It needs to look something like this, I think. I have taken this from a working sheet.

=LEFT(E84&F84,4)

It is taking the first 4 characters of a text string for the cell where the formula resides
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.

Author

Commented:
Saqib Husain is right!  It is a God awful formula. I am not touching this project.
2017-12-08_21-46-14.png
AlanConsultant

Commented:
LOL - Good catch Saqib Husain, Syed!

Alan.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial