Interesting excel formula

Knowledge resource 1124 views 3 replies
Let say A1 type       ="2-1"+"2-1"
Do you think there of result?
Yes, it equals to 76036
Why?

Also:
="2-1"-"2-1" -----> 0
="2-1"*"2-1" -----> 1445368324
="2-1"/"2-1" ------> 1

Thanks
Replies (3)

because Excel is interpreting “2-1” as the date value for 2/1/2009 which has the serial number 39845.  When added to itself, yields the result you saw, 79690, which if formatted as a date is 3/7/2018.

by d way it is a Good catch! I had not seen the more obvious solution of converting date-like numbers to serialdates....

That would suggest that
="2-1"*"2-1" -----> 1445368324
is actually:
="2-1-4"*"2-1-4"-----> 1445368324

since
="2-1"*"2-1" -----> 1587624025

Hope the above clarifies the formula

Thanks

Praveen

yes praveen is right. any digit written in date format (mention of year is not necessary) will be calculated as date and as per excel dates are calculated in numerical which was started from year 1900. So all dates are given in cell are calculated as numerical. Thats why we see this type of answers.

 

>> Rajesh

Well done praveen.


CCI Pro

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register  

Company
Featured 14 March 2026
Article Trainee

N N V Satish&co

Hyderabad

CA Inter

View Details
Company
Featured 13 April 2026
GST CONSULTANCY

Abhishek G Agrawal & Co.

Korba

CA Final

View Details
Company
Featured 28 March 2026
Accountant

Ashok Amol & Associates

New Delhi

B.Com

View Details
Company
Featured 14 April 2026
GST CONSULTANT

Abhishek G Agrawal & Co.

Korba

CA Final

View Details
Company
Featured 19 March 2026
Article Assistant

Gupta Sachdeva & Co. Chartered Accountants

New Delhi

CA Final

View Details
Company
Featured 14 March 2026
Associate CA

N N V Satish&co

Hyderabad

CA

View Details
Company
Featured 12 March 2026
Customer Relationship Executive

TAXLET

Calicut

B.Com

View Details
Company
Featured 28 March 2026
CA Final

Ashok Amol & Associates

New Delhi

CA Final

View Details