Formular

yimveasna

Banned
Local time
3:39 AM
Messages
14
Hello Sir,
I have a question that,
i have one Excel spreed sheet
and at

Formular.PNG

Here is the formula :
1-At column A , the date put by manually
2-At Column B , The date put by formula = today()
3-At the column C, It's the result between column A and B,
The Formula at Column C IF(A1>0,DAYS360(A1,B1),)

I wonder why Column A and B are equal date, why the result at Column C is -2?
It's should be 0 at Column C
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP
OS
Windows 7 64 bit
CPU
AMD
If you are simply trying to calculate the difference in the two dates...

In your example in C1..

=IF(A1>B1,A1-B1,B1-A1)

The result for your example should be 0.

How the date looks is largely irrelevant, as that is accomplished by cell formatting. The actual content for dates is a serial number.

hth
Tanya
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Made
OS
Linux Mint 17 Cinnamon | Win 7 Ult x64
CPU
Intel I7-3770K @ 4.2ghz
Motherboard
ASRock Extreme 4
Memory
32GB G-Skill C10Q
Graphics Card(s)
EVGA GTX 670 2GB SC
Sound Card
Creative Fatality ExtremeGamer
Monitor(s) Displays
LG E2742V x 2
Screen Resolution
1920x1080
Hard Drives
256GB Vertex 4 SSD
2TB Seagate ST2000DM001
1TB Seagate ST1000DM003
PSU
Corsair HX 650
Case
HAF 932 advanced
Cooling
Corsair H100i liquid cooler
Keyboard
Logitech Wireless
Mouse
Logitech Wireless
Internet Speed
OptusNet NBN 100/40
Antivirus
Malwarebytes
Browser
Firefox 30
Other Info
Router: Sagemcom F@st 3846 Crippled by Optus.
Back
Top