I’m trying to combine a series of cells but want it in a list format, so for example if the cells are:
A1 Apple
A2 01/01/2024
A3 Banana
A4 02/01/2024
A5
A6
I want it to read:
1. Apple 01/01/2024
2. Banana 02/01/2024
I’m currently using
TEXTJOIN(“”,TRUE, “1.”,A1,TEXT(A2, “mm/dd/yyyy”),CHAR(10), “2.”,A3,TEXT(A4, mm/dd/yyyy”),CHAR(10), “3.”, A5, TEXT(A6, mm/dd/yyy”))
The problem is that each column has varying numbers of fields to combine so I want it to essentially stop adding the numbering and empty date showing up as 01/00/1900.
If I remove the text for the date formatting, regardless of how the information is stored it keeps trying to return it as a number and I have not found another way of fixing that. I can’t seem to find another way to add a number in front to create steps in a list either, but I end up having the following returned:
1. Apple 01/01/2024
2. Banana 02/01/2024
3. 01/00/1900
A1 Apple
A2 01/01/2024
A3 Banana
A4 02/01/2024
A5
A6
I want it to read:
1. Apple 01/01/2024
2. Banana 02/01/2024
I’m currently using
TEXTJOIN(“”,TRUE, “1.”,A1,TEXT(A2, “mm/dd/yyyy”),CHAR(10), “2.”,A3,TEXT(A4, mm/dd/yyyy”),CHAR(10), “3.”, A5, TEXT(A6, mm/dd/yyy”))
The problem is that each column has varying numbers of fields to combine so I want it to essentially stop adding the numbering and empty date showing up as 01/00/1900.
If I remove the text for the date formatting, regardless of how the information is stored it keeps trying to return it as a number and I have not found another way of fixing that. I can’t seem to find another way to add a number in front to create steps in a list either, but I end up having the following returned:
1. Apple 01/01/2024
2. Banana 02/01/2024
3. 01/00/1900