Link to home
Create AccountLog in
Avatar of rrhandle8
rrhandle8Flag 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&"
Avatar of abbas abdulla
abbas abdulla
Flag of Bahrain image

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..
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
Avatar of 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.
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
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Saqib Husain is right!  It is a God awful formula. I am not touching this project.
User generated image
LOL - Good catch Saqib Husain, Syed!

Alan.