Hi MVPs,
I have got a requirement to derive a formula - Left( string, length ) and inserting into a [Textxx] Field for a specific type of string (alphanumeric) and where is the string is not equal to the aforesaid it should return blank or 0 or Null instead of #ERROR.
To make my requirement clearer, please see illustration below;
Text1 Field to contain the working formula | Name (reference field / data source) |
Lookup Name field for string "FR101 or FR151" i.e. Left([Name],5), where string start is not FR (i.e. for the 1st 2 letters) return blank or 0 and not #ERROR | FR101 Start ESC build |
Lookup Name field for string "FR101 or FR151" i.e. Left([Name],5), where string start is not FR (i.e. for the 1st 2 letters) return blank or 0 and not #ERROR | FR151 How to deduct from ESC data |
Lookup Name field for string "FR101 or FR151" i.e. Left([Name],5), where string start is not FR (i.e. for the 1st 2 letters) return blank or 0 and not #ERROR | Run calculation |
Lookup Name field for string "FR101 or FR151" i.e. Left([Name],5), where string start is not FR (i.e. for the 1st 2 letters) return blank or 0 and not #ERROR | RR101 Report on the Outcome of ESC |
In addition, I would appreciate if the formula that will be derived to do this calculation can also lookup in an 'OR' instance i.e. lookup for string "FRxxx or RRxxx" in the same field.
Note, I have been able to do this in the past and currently with this IIf(Left([Name],4)="GATE","GATE",IIf(Left([Name],3)="KEY","KEY","")) to lookup or calculate for a custom field to return "GATE & KEY", you will notice that "GATE & KEY" are consistent words / set of letters but for the alphanumeric data that varies from row-to-row (i.e. the numeric part) is where my challenge is using the same formula??? FR101, FR151, RR101 etc...
I would be very grateful if you generous and kind MVPs out there can help.
I look forward to receiving your swift and candid responses (answers).
Thank you.
Kind Regards,
Olu