Need Help with copying value of cell based on conditions.
I would really appreciate some help with the following problem i have.
Attached excel sheet is a weekly stocks price (Date, Open, High, Low and Close).
I need to do the following
a) Find the row the corresponds to Monday after 3rd Friday of the month (Those of you that are familiar with options, know that I am referring to a the session after the expiry of Option for the month).
b) Copy the Open price from that row over the open price of next months row that corresponds to the week that is a week before we found in (a)
c) Find the HIGH VALUE between the PREVIOUS MONTH and Next Month and copy that value over the HIGH PRICE of the next months high.
d) Do the same with Low Value.
e) Delete the rows below the Next months row that we modified to the row of the previous month from which we found the open price.
f) Keep iterating this though the sheet till you reach the end.
Let me give you an example from the attached sheet.
For clarity take I highlighted the row RED to fulfill my first step. These rows corresponds to the session after 3rd first of the month. This would be (a).
What I need to happen now is as follows
b) Copy B7 over B4
c) Find the High price between Row4 ND Row7 which is C6. Now copy that value from C6 over C4.
d) Find the Low price between Row4 and Row7 which is C7, now copy that over B4.
e) Delete Rows 5,6 and 7
The resutling row 4 will look like Highlighted in Green
Continue the process starting with Row8 and Row12....
Go down the sheet till you reach end.
Bookmarks