Microsoft Excel에서 YEAR 함수를 사용하는 방법

0
400

회색 배경에 Excel 로고

Microsoft Excel의 날짜에서 연도를 빠르게 추출해야하는 경우 YEAR 함수를 사용할 수 있습니다. 이렇게하면 별도의 셀에 연도 값이 제공되므로 별도의 수식에서 사용할 수 있습니다.

YEAR 함수는 Excel에서 텍스트를 날짜 값으로 변환하고 데이터에서 연도 값을 추출하려는 경우 특히 유용 할 수 있습니다.

관련 : Microsoft Excel에서 텍스트를 날짜 값으로 변환하는 방법

YEAR 함수를 사용하려면 Excel 스프레드 시트를 열고 날짜 (모든 형식)가 포함 된 셀이 적절한 “날짜”숫자 값으로 설정되어 있어야합니다.

홈> 숫자 드롭 다운 메뉴를 사용하여 이러한 셀 값을 “긴 날짜”또는 “짧은 날짜”숫자 값으로 설정하는 것이 가장 좋습니다. 사용자 지정 날짜 형식으로 셀을 사용할 수도 있습니다.

Excel에서 날짜가있는 셀이 홈> 숫자 드롭 다운 메뉴를 사용하여 적절한 “날짜”숫자 값으로 설정되었는지 확인합니다.’ width=”426″ height=”175″ onload=”pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” onerror=”this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);”></p>
<p>날짜를 숫자로 변환 한 경우 1900 년 1 월 1 일부터 일 수를 계산하는 5 자리 Excel “일련 번호”에서 연도를 추출 할 수도 있습니다. 날짜 값을 다음으로 변경하여이 값을 볼 수 있습니다. 홈> 숫자 메뉴를 사용하여 표준 숫자 값.</p>
<p>이 특정 제한으로 인해 1900 년 1 월 1 일부터 시작되는 날짜에서 연도를 추출하는 데 YEAR 만 사용할 수 있습니다.  이 기능은 그 이전 날짜에서는 작동하지 않습니다.</p>
<p>날짜가 포함 된 셀에서 연도를 추출하려면 다음을 입력하십시오. <code>=YEAR(CELL)</code>, 교체 <code>CELL</code> 셀 참조가 있습니다.  예를 들어 <code>=YEAR(A2)</code> A2 셀에서 날짜 값을 가져 와서 연도를 추출합니다.</p>
<p><img decoding="async" class="alignnone size-full wp-image-688599" src="https://www.howtogeek.com/wp-content/uploads/2020/09/Excel-YEAR-Function.png" alt="Microsoft Excel에서 사용되는 YEAR 함수의 예" width="462" height="434" onload="pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);" onerror="this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);"></p>
<p>위의 예는 A 열의 다양한 날짜 값 스타일을 보여줍니다. 형식에 관계없이 B 열에 사용 된 YEAR 함수는이를 읽고 연도 값을 추출 할 수 있습니다.</p>
<p>원하는 경우 셀 참조 대신 5 자리 Excel “일련 번호”를 사용할 수도 있습니다.</p>
<p><img decoding="async" class="alignnone size-full wp-image-688600" src="https://www.howtogeek.com/wp-content/uploads/2020/09/Excel-YEAR-Function-Serial-Example.png" alt="YEAR 함수를 사용하는 Excel 수식으로 1900 년 1 월 1 일부터 계산 된 5 자리 일련 번호에서 연도를 추출합니다." width="449" height="296" onload="pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);" onerror="this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);"></p>
<p>위의 예는 공식을 사용하여이를 보여줍니다. <code>=YEAR(43478)</code>, 일련 번호 (43478)가 날짜 (2019 년 1 월 13 일)와 일치하며 YEAR 함수가 이해할 수 있습니다.  이 일련 번호에서 연도 (2019)가 반환됩니다.</p>
<p>YEAR 함수를 포함하는 수식에서 반환 된 값은 다른 수식에서 사용할 수 있습니다.  예를 들어 DATE 공식 (예 : <code>=DATE(YEAR(A2),1,11</code> )를 사용하여 유효한 날짜 값을 만듭니다.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-688604" src="https://www.howtogeek.com/wp-content/uploads/2020/09/Excel-DATE-Function-Example.png" alt="Excel에서 YEAR 공식으로 생성 된 값을 사용하여 생성 된 DATE 공식 값의 예" width="473" height="292" onload="pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);" onerror="this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);"></p>
<p>여러 날짜 값에 대해 반복하려는 경우 채우기 핸들을 사용하여 YEAR 수식을 추가 셀에 복사 할 수 있습니다.</p>
<p><strong>관련 :</strong> <strong><em>채우기 핸들을 사용하여 순차적 데이터를 Excel에 자동으로 채우는 방법</em></strong></p>
<style>
<p>			body #primary .entry-content ul # nextuplist {list-style-type : none; margin-left : 0px; padding-left : 0px;} body #primary .entry-content ul # nextuplist li a {text-decoration : none ; 색상 : # 1d55a9;}
		</style>
</div>

 <!-- A generated by theme --> 

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><div class="td-g-rec td-g-rec-id-content_bottom tdi_4 td_block_template_4 ">

<style>.tdi_4.td-a-rec{text-align:center}.tdi_4.td-a-rec:not(.td-a-rec-no-translate){transform:translateZ(0)}.tdi_4 .td-element-style{z-index:-1}.tdi_4.td-a-rec-img{text-align:left}.tdi_4.td-a-rec-img img{margin:0 auto 0 0}@media (max-width:767px){.tdi_4.td-a-rec-img{text-align:center}}</style><script type="text/javascript">
var td_screen_width = window.innerWidth;
window.addEventListener("load", function(){            
	            var placeAdEl = document.getElementById("td-ad-placeholder");
			    if ( null !== placeAdEl && td_screen_width >= 1140 ) {
			        
			        /* large monitors */
			        var adEl = document.createElement("ins");
		            placeAdEl.replaceWith(adEl);	
		            adEl.setAttribute("class", "adsbygoogle");
		            adEl.setAttribute("style", "display:inline-block;width:468px;height:60px");	            		                
		            adEl.setAttribute("data-ad-client", "ca-pub-2531841583262676");
		            adEl.setAttribute("data-ad-slot", "2588773193");	            
			        (adsbygoogle = window.adsbygoogle || []).push({});
			    }
			});window.addEventListener("load", function(){            
	            var placeAdEl = document.getElementById("td-ad-placeholder");
			    if ( null !== placeAdEl && td_screen_width >= 1019  && td_screen_width < 1140 ) {
			    
			        /* landscape tablets */
			        var adEl = document.createElement("ins");
		            placeAdEl.replaceWith(adEl);	
		            adEl.setAttribute("class", "adsbygoogle");
		            adEl.setAttribute("style", "display:inline-block;width:468px;height:60px");	            		                
		            adEl.setAttribute("data-ad-client", "ca-pub-2531841583262676");
		            adEl.setAttribute("data-ad-slot", "2588773193");	            
			        (adsbygoogle = window.adsbygoogle || []).push({});
			    }
			});window.addEventListener("load", function(){            
	            var placeAdEl = document.getElementById("td-ad-placeholder");
			    if ( null !== placeAdEl && td_screen_width >= 768  && td_screen_width < 1019 ) {
			    
			        /* portrait tablets */
			        var adEl = document.createElement("ins");
		            placeAdEl.replaceWith(adEl);	
		            adEl.setAttribute("class", "adsbygoogle");
		            adEl.setAttribute("style", "display:inline-block;width:468px;height:60px");	            		                
		            adEl.setAttribute("data-ad-client", "ca-pub-2531841583262676");
		            adEl.setAttribute("data-ad-slot", "2588773193");	            
			        (adsbygoogle = window.adsbygoogle || []).push({});
			    }
			});window.addEventListener("load", function(){            
	            var placeAdEl = document.getElementById("td-ad-placeholder");
			    if ( null !== placeAdEl && td_screen_width < 768 ) {
			    
			        /* Phones */
			        var adEl = document.createElement("ins");
		            placeAdEl.replaceWith(adEl);	
		            adEl.setAttribute("class", "adsbygoogle");
		            adEl.setAttribute("style", "display:inline-block;width:300px;height:250px");	            		                
		            adEl.setAttribute("data-ad-client", "ca-pub-2531841583262676");
		            adEl.setAttribute("data-ad-slot", "2588773193");	            
			        (adsbygoogle = window.adsbygoogle || []).push({});
			    }
			});</script>
<noscript id="td-ad-placeholder"></noscript></div>

 <!-- end A --> 

        </div>

        <footer>
            <!-- post pagination -->            <!-- review -->
            <div class="td-post-source-tags">
                <!-- source via -->                <!-- tags --><ul class="td-tags td-post-small-box clearfix"><li><span>TAGS</span></li><li><a href="https://choesin.com/tag/information-technology-guide">information technology guide</a></li><li><a href="https://choesin.com/tag/laptop-guide">laptop guide</a></li><li><a href="https://choesin.com/tag/%eb%94%94%ec%a7%80%ed%84%b8-%ec%9e%a5%ec%b9%98">디지털 장치</a></li></ul>            </div>

            <div class="td-post-sharing-bottom"><div class="td-post-sharing-classic"><iframe title="bottomFacebookLike" frameBorder="0" src="https://www.facebook.com/plugins/like.php?href=https://choesin.com/microsoft-excel%ec%97%90%ec%84%9c-year-%ed%95%a8%ec%88%98%eb%a5%bc-%ec%82%ac%ec%9a%a9%ed%95%98%eb%8a%94-%eb%b0%a9%eb%b2%95&layout=button_count&show_faces=false&width=105&action=like&colorscheme=light&height=21" style="border:none; overflow:hidden; width:auto; height:21px; background-color:transparent;"></iframe></div><div id="td_social_sharing_article_bottom" class="td-post-sharing td-ps-bg td-ps-notext td-post-sharing-style1 ">
		<style>.td-post-sharing-classic{position:relative;height:20px}.td-post-sharing{margin-left:-3px;margin-right:-3px;font-family:var(--td_default_google_font_1,