Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to check if a year in a cell is leap year

Posted on 2014-10-29
2
Medium Priority
?
101 Views
Last Modified: 2014-10-29
i have a column of years that i want to check which one of them are leap year. how do i do that?
0
Comment
Question by:Flora
2 Comments
 
LVL 27

Accepted Solution

by:
ProfessorJimJam earned 2000 total points
ID: 40412324
=((MOD(A1,4)=0)*((MOD(A1,100)<>0)+(MOD(A1,400)=0))=1)
0
 
LVL 6

Author Closing Comment

by:Flora
ID: 40412325
thanks.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question