PuntingJawa
Board Regular
- Joined
- Feb 25, 2021
- Messages
- 162
- Office Version
- 365
- 2019
- Platform
- Windows
I'm trying to keep a date format while using a sequence formula.
A2 has the date as M/DD/YYYY
A6 is the line count
F2 is where this primary formula will be. "=A2&TEXT(SEQUENCE(A6),"")" is the formula I am currently using for my usual sequencing of specific information from other cells. In this case I figured using "=A2&TEXT(SEQUENCE(A6),"dd-mmm-yyyy")" would work, and it does in a way, as far as a partial format.
Example below: Under B2 is where my formula should go. A6 is the line count for the sequence part of the formula. A2 where the date should come from. I would like it to pull the current format in A2 and change it to "DD-MMM-YYYY".
A2 has the date as M/DD/YYYY
A6 is the line count
F2 is where this primary formula will be. "=A2&TEXT(SEQUENCE(A6),"")" is the formula I am currently using for my usual sequencing of specific information from other cells. In this case I figured using "=A2&TEXT(SEQUENCE(A6),"dd-mmm-yyyy")" would work, and it does in a way, as far as a partial format.
Example below: Under B2 is where my formula should go. A6 is the line count for the sequence part of the formula. A2 where the date should come from. I would like it to pull the current format in A2 and change it to "DD-MMM-YYYY".
Book1 | ||||
---|---|---|---|---|
A | B | |||
1 | Date | Manufacturing: | ||
2 | 6/20/2023 | 4509701-Jan-1900 | ||
3 | Start # | 4509702-Jan-1900 | ||
4 | 3 | 4509703-Jan-1900 | ||
5 | Count | 4509704-Jan-1900 | ||
6 | 50 | 4509705-Jan-1900 | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:B51 | B2 | =A2&TEXT(SEQUENCE(A6),"dd-mmm-yyyy") |
Dynamic array formulas. |