Help

Concatenation + IF formulas

Solved
Jump to Solution
782 3
cancel
Showing results for 
Search instead for 
Did you mean: 
EmA
5 - Automation Enthusiast
5 - Automation Enthusiast

Hello -

I’m having trouble with IF and CONCATENATION formulas

Here is what I’m trying to achieve:
Concatenate “SUB SKU” - “PRODUCT NAME”
If “SUB SKU” = Blank, concatenate “Parent SKU” - “PRODUCT NAME”

I tried it this way but it’s not working.

IF({SUB SKU}, CONCATENATE({Sub Sku},” – “,{Product Name}),IF({SUB SKU}=BLANK(),{Parent SKU},” – “,{Product Name})

Appreciate any help. Thanks!

1 Solution

Accepted Solutions
Kamille_Parks
16 - Uranus
16 - Uranus

Since the last two parts of the output will be the same in either condition you could simplify you formula a bit:

IF({Sub SKU}, {Sub SKU}, {Parent SKU}) & ' - ' & {Product Name}

See Solution in Thread

3 Replies 3
Kamille_Parks
16 - Uranus
16 - Uranus

Since the last two parts of the output will be the same in either condition you could simplify you formula a bit:

IF({Sub SKU}, {Sub SKU}, {Parent SKU}) & ' - ' & {Product Name}

EmA
5 - Automation Enthusiast
5 - Automation Enthusiast

Brilliant! Thank you, it worked.

Could you please mark my reply above as the solution?