Calculation Date with Number

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all...

how to calculation date with number then the final result is in still date format (dd/mm/yyyy)
like this sample
Book1
FGH
2date (dd-mm-yyyy)number (given)after formula
323/10/2020523/10/2025
409/12/2016309/12/2019
Sheet1


not use macro/vba
any help, thank in advance
.sst
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Use this formula:
Excel Formula:
=EDATE(F3,G3*12)

Note that you just need to apply whatever date format you want to the cell to get it to display that way.
Excel stores all dates as numbers. So dates are just specially formatted numbers in Excel.
 
Upvote 0
Solution
hi Joe4, work great, thank
1 question, how if subtract number like this
23/10/2020 - 5 =23/10/2015
 
Upvote 0
1 question, how if subtract number like this
23/10/2020 - 5 =23/10/2015
It is simpler than you think (I bet you could have figured it out). Just add a negative to the formula.
Excel Formula:
=EDATE(F3,-G3*12)
Don't be afraid to try these things out for yourself!
It is usually the best way to learn! :)
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,181
Members
449,071
Latest member
cdnMech

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top