D
Don Lee
I am having trouble creating a function that overlook
weekends/holidays.
I do a lot of trading in the stock market and when you sell stock, i
usually takes three days for the trade to "settle" (this gives broker
time to correct any mistakes that may have been made during
transaction). So if I sell on a Monday, the trade will settle in 7
hours and I can have the money wired to my account on Thursday. If
sell on Monday or Tuesday I can use a formula like
=DATE(YEAR($A$2),MONTH($A$2),DAY($A$2)+3) (where A2 is the sellin
date)
to get my settling date. However, weekends/holidays are not counte
toward the settle date (business days only), so if I sell on
Wednesday, Thursday, or Friday the settle date is the following week.
eg-> If I sell on Friday the settle date would be Wednesday.
This means if I use the above formula I will get incorrect settle date
(false settle dates that occur on weekends).
Can anyone help me devise a formula that recognizes weekends/holiday
to accurately show the settle date? I want to be able to enter th
sell date and have Excel calculate the settle date for me.
Any help is most appreciated.
-Do
weekends/holidays.
I do a lot of trading in the stock market and when you sell stock, i
usually takes three days for the trade to "settle" (this gives broker
time to correct any mistakes that may have been made during
transaction). So if I sell on a Monday, the trade will settle in 7
hours and I can have the money wired to my account on Thursday. If
sell on Monday or Tuesday I can use a formula like
=DATE(YEAR($A$2),MONTH($A$2),DAY($A$2)+3) (where A2 is the sellin
date)
to get my settling date. However, weekends/holidays are not counte
toward the settle date (business days only), so if I sell on
Wednesday, Thursday, or Friday the settle date is the following week.
eg-> If I sell on Friday the settle date would be Wednesday.
This means if I use the above formula I will get incorrect settle date
(false settle dates that occur on weekends).
Can anyone help me devise a formula that recognizes weekends/holiday
to accurately show the settle date? I want to be able to enter th
sell date and have Excel calculate the settle date for me.
Any help is most appreciated.
-Do