How could I write a If statement in Excel to divide a cell by 2088 if it is a leap year, and if it is not a leap year divide the same cell by 2080?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you put this in A2:
And then put the year you care about in A1 and your value in B1 and then do:
See this Technet article for further info (I used the IF statement from there as a base).
Edit: Or do you mean that you want to divide the year by that value? If so add the following in any cell but A1:
And put the year in A1.