I want to generate a unique payment ID, based on the sum, date, cashier, and the type of transaction.
Everything has been good by far, until I decided that I want to try using emojis. So, I assumed it should be a mix of CONCATENATE and IF, because I want the emoji to appear only in one field = meaning that IF it says βcashβ then show ββ, IF it says βcardβ then show ββ
Iβm using a CONCATENATE function.
A separate IF function works well to produce a separate field translating words to emojis, as shown on the screenshot. But is there a way I can include the IF statement to the main concatenate field, so that a helper field is not necessary?
Absolutely, it can be in the same formula. Just concatenate it. I prefer to use the & operator to join things together because I find it easier to read than the CONCATENATE function. You can even use multiple lines.
All three of the following will produce the same result:
I know, that is a whole different question, but can I add the β+β sign to differentiate between negative and positive values in the Primary field? Below is the screenshot where I want the values to be more aligned - with the minus sign in place for the expenses, I want to add the plus sign as well for better aesthetics so to speak