Excel 차트에서 날짜가 숫자(축의 일련 번호)로 표시됨
2024년 1월 8일의 일련 번호는 45299입니다. 축이나 원본 셀이 숫자 또는 일반 서식이면 날짜 대신 이 숫자가 보입니다. Excel에서는 가로 축을 오른쪽 클릭해 축 서식에서 숫자 형식을 날짜로 바꾸세요. Google Sheets에서는 차트 편집기의 맞춤설정 > 가로 축에서 설정하거나 먼저 원본 열을 날짜로 지정하세요.
목차
빠른 답변
2024년 1월 8일의 일련 번호는 45299입니다. 축이나 원본 셀이 숫자 또는 일반 서식이면 날짜 대신 이 숫자가 보입니다. Excel에서는 가로 축을 오른쪽 클릭해 축 서식에서 숫자 형식을 날짜로 바꾸세요. Google Sheets에서는 차트 편집기의 맞춤설정 > 가로 축에서 설정하거나 먼저 원본 열을 날짜로 지정하세요.
=DATE(2024,1,8)
=TEXT(DATE(2024,1,8),"yyyy-mm-dd")확인 사항
2026년 11월 12일 확인에서 =DATE(2024,1,8)은 45299이고 TEXT는 2024-01-08입니다. 같은 문자열을 텍스트로 저장하면 ISTEXT는 TRUE, ISNUMBER는 FALSE이며 DATEVALUE는 여전히 45299입니다. 축 서식만 바꿔서는 텍스트가 날짜 축이 되지 않으므로 원본 열을 먼저 변환하세요.
주의점 및 호환성
축이 1, 2, 3이거나 날짜가 아주 큰 두 번째 계열로 그려지면 범주 축에 날짜 열이 쓰이지 않은 것입니다. 데이터 선택에서 날짜를 가로 축 레이블로, 매출이나 수량을 계열로 지정하세요. 피벗 차트도 일반 서식을 그대로 받을 수 있습니다. 월 그룹화가 안 되면 원본 날짜를 먼저 고치세요.
영어 상세 예제, 수식 및 작성자 메모
Excel How-toTested in: The serial,
TEXT, andDATEVALUEresults below were evaluated in Google Sheets on 12 November 2026. Excel 365 menu names are the current desktop labels; I did not click through Format Axis in Excel this session.
How to pick a line vs a column chart is in How to Make a Chart in Excel. This page is only about an axis that shows serials.
The number is the date
Excel and Google Sheets store a date as a whole number of days from a fixed origin. In the test workbook:
=DATE(2024,1,8)
=TEXT(DATE(2024,1,8),"yyyy-mm-dd")
The first formula is serial 45299 (that is what you see if the cell or the axis is formatted as a number). The second returned 2024-01-08. Nothing is “wrong” with 45299 except the format.
In Excel 365
- Click the chart, then right-click the horizontal axis.
- Choose Format Axis.
- Open the Number section (sometimes under Axis Options).
- Set the category to Date, or type a format code such as
yyyy-mm-ddord-mmm. - If the axis still shows 1, 2, 3, the chart is not using your date column as the category. Open Select Data and set the horizontal (category) labels to the date range.
In Google Sheets
- Click the chart, then open the chart editor.
- Under Customize > Horizontal axis, set a date number format if the option is there.
- If it is not, format the source date column as a date (Format > Number > Date) and, in Setup, confirm the date column is the X-axis.
When the source is text, not a serial
Formatting the axis does not fix labels that were typed as text. A cell can look like 2024-01-08 and still be text. In the test workbook I stored those characters as text in L4:
=ISTEXT(L4)
=ISNUMBER(L4)
=DATEVALUE(L4)
On 12 November 2026 those returned TRUE, FALSE, and 45299. DATEVALUE produced the same serial as =DATE(2024,1,8). Put that converted column on the axis, or paste the values over the text, then format the axis as a date.
If DATEVALUE returns #VALUE!, the text is not in a date order your locale expects. Use the conversions in dates stored as text. Mixed columns — some real dates, some text — produce an axis that looks partly numbered, partly labeled, and a line chart that treats the labels as unordered categories.
The axis used the wrong column
A second common cause is a chart built from the value column only. Excel then uses 1, 2, 3 as the axis, or it plots the dates as a second series of large numbers (45299 sits far above a revenue series of 7800). In Select Data, the date column should be the category axis, and the revenue (or quantity) column should be the series. Do not include both the date serial and the revenue as two series on the same value axis.
A pivot chart can show serials for the same reason: the date field is a number, and the chart inherited a General format. Format the axis, or group the pivot dates first so the axis shows month labels. If Group is disabled, fix the source as in cannot group dates in a pivot table.
Once the axis shows 8 Jan 2024 instead of 45299, check that the points are in date order. Text labels sort alphabetically; real dates sort as numbers, which is what you want on a time scale.