Reputation: 67
I'm trying to join two formulas on one cell.
For example I have these two formulas
=sum(1+1)
=multiply(1,5)
How can I combine them in one cell delimited by | ?
Upvotes: 2
Views: 11490
Reputation:
There is concatenate
which takes multiple parameters, so only one call is needed:
=concatenate(sum(1+1), "|", multiply(1,5))
Even shorter is the binary concatenation operator &
, which is what I would use:
=sum(1+1) & "|" & multiply(1,5)
Upvotes: 4
Reputation: 190976
Use 2 CONCAT
calls.
=CONCAT(SUM(1+1), CONCAT("|", MULTIPLY(1,5))
Upvotes: 1