Avatar of rrhandle8
rrhandle8
Flag for United States of America asked on

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?  

=IFERROR(LEFT(IF(G3,$G3&"
Microsoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
Alan

8/22/2022 - Mon
abbas abdulla

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

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
rrhandle8

ASKER
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.
Your help has saved me hundreds of hours of internet surfing.
fblack61
John

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
ASKER CERTIFIED SOLUTION
Saqib Husain

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
rrhandle8

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

LOL - Good catch Saqib Husain, Syed!

Alan.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.