The document demonstrates the XL.StringFormat function, which formats a string using placeholders and supplied arguments. It shows two examples: one confirming an order with a customer's name and order number, and another displaying the current week number and a random number. The function fills placeholders in the string with cell references or formulas as arguments.
The document demonstrates the XL.StringFormat function, which formats a string using placeholders and supplied arguments. It shows two examples: one confirming an order with a customer's name and order number, and another displaying the current week number and a random number. The function fills placeholders in the string with cell references or formulas as arguments.
The document demonstrates the XL.StringFormat function, which formats a string using placeholders and supplied arguments. It shows two examples: one confirming an order with a customer's name and order number, and another displaying the current week number and a random number. The function fills placeholders in the string with cell references or formulas as arguments.
4/4/2023 random number is {1}", WEEKNUM(A4),A5) 70 Result Description
Placeholders are filled with arguments:
Dear Paul, your Order #123 is confirmed {0} = value in cell A2 {1} = value in cell A3
Placeholders are filled with arguments:
#NAME? {0} = result of the formula WEEKNUM(A4) {1} = value in cell A5 XL.StringFormat function This workbook demonstrates the use of the XL.StringFormat function
Last updated: March 2021
Download from the source: https://xltools.net/xl-functions/string-format/