P
poof
I have a field that could be split into 2, one being name and the second
being a number. Due to data quality beyond my control and which won't be
fixed I sometimes have a # sign to key on. If not I just want to return the
original text in the field.
Some examples
K & W Cafeteria - I want this to be what is used but does not have a # so
using this formula =Trim(Left([Mark For Name],InStr([Mark For Name],"#")-1))
I get #error for name (first field) and #error for number (second field)
using this formula
=Trim(Mid([Mark For Name],InStr([Mark For Name],"#"))). I have attempted
many of the suggestions in the forums but have not found the correct syntax
to work. I have tried using Nz in the formula within an if statement.
The formulas above work for this data ABC #A12345 and breaks into 2 fields.
Any suggestions would be helpful
being a number. Due to data quality beyond my control and which won't be
fixed I sometimes have a # sign to key on. If not I just want to return the
original text in the field.
Some examples
K & W Cafeteria - I want this to be what is used but does not have a # so
using this formula =Trim(Left([Mark For Name],InStr([Mark For Name],"#")-1))
I get #error for name (first field) and #error for number (second field)
using this formula
=Trim(Mid([Mark For Name],InStr([Mark For Name],"#"))). I have attempted
many of the suggestions in the forums but have not found the correct syntax
to work. I have tried using Nz in the formula within an if statement.
The formulas above work for this data ABC #A12345 and breaks into 2 fields.
Any suggestions would be helpful