Option Expiration Date & Time

Kernkraft

Board Regular
Joined
Jul 26, 2009
Messages
68
Alright I'm trying to figure this out, but I fear I'll have to venture into VBA.

I have an options pricer, which works just fine, but I'm trying to improve it a bit more.

I have in one cell today's date: = Today()

Another cell or column I should say which spits out the delivery month based off that one cell... =Date(year($A$1), Month($A$1), Day(1))

And finally, I have an additional column that gives me the expiration date based on the delivery month column....

=Workday(EOMONTH($B4,0)+1,-4,Holidays!$D4)


I would like that last column to have the expiration date AND time (2:30 PM).... how would I go about doing this?

Thanks for any help.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,108
Messages
5,857,425
Members
431,879
Latest member
KiwDaWabbit

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
Top