You need to sign in to do that
Don't have an account?
ani123
Formula field
Hi can any one tell me how to write formula for merging four field names.
For ex:
Field 1
field 2
Field 3
Field 4
field1/field2/field3/field4
if any one of the field is empty like if field 2 is empty i want the formula field display as
field1/field3/field4
and not
field1//field3/field4
Hi,
Try the below formula for reference:
if( Field 1 !=null,Field 1+'/','') +
if( field 2 != null,field 2 +'/','') +
if( field 3 != null,field 3 +'/','') +
if( field 4 != null,field 4 +'/','')
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Hi I have tried with that formula.(Number)Datatype .
Error: Incorrect parameter for operator '+'. Expected Number, Date, DateTime, received Text
What are the datatypes of the 4 fields in your formula?
all the four fields are Number Field.
Okay does a 0 count as a "blank" field or do you want to include them in your result?
i dont want 0 to include in my calculation
okay then use something like this and remember to select "Treat blank fields as zeros"
Datatype: Formula(TEXT)
but if i select field 4 i am getting field4/ the format is wrong if i input field 4 i need the output with only field 4
Can you post the Formula you're using? My formula is:
I AM USING UR FORMULA .
FORMULA IS CORRECT WHEN I WORK WITH 2 OR 3 FIELDS FOR EX:
MY INPUT FOR FIELD 1:4
MY INPUT FOR FIELD 2:8
MY INPUT FOR FIELD 3:6
my FORMULA OUTPUT WILL BE:4/8/6
whereas if i only input for Field 1:4
my FORMULA OUTPUT is 4/(ITS WRONG)
I WANT THE O/P TO BE :4
Can you PLEASE post the formula code that you are using???