메인 컨텐츠로 가기

Excel에서 셀이 비어 있으면 계산하지 않는 방법 (수식 무시)?

Excel에 생일이있는 학생 목록이 있고 학생의 나이를 계산해야한다고 가정 해 보겠습니다. 일반적으로 = (TODAY ()-B2) /365.25 공식을 적용하여 연령을 알아낼 수 있습니다. 그러나 일부 학생들의 생일이 우연히 채워지지 않기 때문에 우리는 어리석은 나이가됩니다. 오류를 방지하기 위해 Excel에서 셀이 비어있는 경우 수식을 계산하거나 무시하지 않아야합니다.

Excel에서 셀이 비어있는 경우 계산 안 함 (수식 무시)
문서 수식 공백 무시 1


Excel에서 셀이 비어 있으면 수식을 계산하거나 무시하지 마십시오.

수식을 무시하거나 Excel에서 특정 셀이 비어 있는지 계산하지 않으려면 특정 셀이 비어 있는지 여부를 IF 함수로 확인해야합니다. 비어 있지 않으면 원래 수식으로 계산할 수 있습니다.

= IF (특정 셀 <> "", 원래 수식, "")

처음에 논의한 경우에는 다음을 입력해야합니다. = IF (B2 <> "", (TODAY ()-B2) /365.25, "") 셀 C2로 이동 한 다음 채우기 핸들을 필요한 범위로 끕니다.

주의 사항: B2는 생일으로 채워진 Cell B2를 의미하고, Cell B2가 비어 있으면 수식을 무시하고 공백을 반환하고 Cell B2가 생일으로 채워지면 나이를 반환합니다.

또는 IF 함수와 원래 공식을 다음과 같이 결합 할 수도 있습니다. = IF (특정 셀 = "", "", "원래 공식"), 그리고 우리의 경우 공식은 다음과 같이 표시됩니다. = IF (B2 = "", "", (오늘 () -B2) /365.25).


데모 : Excel에서 셀이 비어 있으면 계산 안 함 (수식 무시)


Excel 용 Kutools: 300개 이상의 편리한 도구를 손쉽게 사용할 수 있습니다! 지금 바로 기능 제한 없이 30일 무료 평가판을 시작해 보세요. 지금 다운로드!

Excel에서 선택한 모든 빈 셀에 대시, 특정 텍스트 또는 NA를 빠르게 입력

Excel 용 Kutools 빈 셀 채우기 유틸리티를 사용하면 Excel에서 몇 번의 클릭만으로 선택한 범위의 모든 빈 셀에 "경고"와 같은 특정 텍스트를 빠르게 입력 할 수 있습니다.


광고 채우기 빈 셀 5


화살표 블루 오른쪽 거품관련 기사

최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!
Comments (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Bagaimana rumus if bertingkat untuk kondisi seperti ini

Jika kolom notes terisi maka tetap meet SLA

Jika kolom notes kosong maka,
Jika kolom Days = 1 maka meet
Jika lebih dari dari itu maka miss
jika kosong maka NO CRF
This comment was minimized by the moderator on the site
FYI for Calculating due dates:
=IF(A1<>””,A1+7,””)
A1:1/1/21 would return 1/8/21
This comment was minimized by the moderator on the site
I am trying to return the earliest date in a range of dates in 6 columns based on the value of another column If I were to say it out loud it would be:
If M6:M603 equals 1, then identify the minimum date in the following columns G6:L603 but do not count the value if the cell is blank and insert this into another sheet on the workbook. I get very close but it keeps returning the date 00/01/1900. Can anyone help?
This comment was minimized by the moderator on the site
How to calculate Non Empty cells that contains formula?
This comment was minimized by the moderator on the site
Hi Aamir.Ali002,
You can find out the cells which are formula cells and return blank with a formula. Says the first cell is H2, and apply this formula =IF(AND(E2=0,ISFORMULA(E2)=TRUE),1,0), and then drag the cell handle to copy this formula to other cells.
Then sum the formula cells to get the total number of cells which are formula cells and return blank.
This comment was minimized by the moderator on the site
Finally worked out how to count a complex range of conditions over an extended period of time but only if the date of the events is not blank with this:
=IF($B608<>"",(COUNTIF($O$6:$O608,Q$5)),"")
In other words, "count apples or oranges but not if column B (dates) is blank".
THANK YOU, it has been bugging me for weeks to get this so I can make a chart from a date in the past to infinity (so as not to have to keep adjusting the chart range each day as data is entered
This comment was minimized by the moderator on the site
how about in months?
This comment was minimized by the moderator on the site
Hi israelroy,
Would you describe your problems in detail? More information will help us understand your problem clear. Thank you!
This comment was minimized by the moderator on the site
thank for share
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations