Hi Guys
Copying values to 2nd sheet based on specific circumstances.
I have an issue I would like to resolve. I want get some values from one worksheet to another under certain conditions. I don’t know what title to give it so that it can be referred to by others so please if you can help with a better title that would also be great.
My example has conditional formatting applied using if the value of D is greater than B background redish.
I want to write a macro which will look in column “B1” of “What I have” and enter its value into “A2” in sheet “What I want”.
Then I would like to go down to the last row in column “E”. When the value changes from hold to sell then the value in “A”, date and the value in “D” are entered in entered into sheet “What I Want “ under column “B and C”. When the value changes to Sell to Hold I want the values in “B” to go to “D” in “What I want” and the value in “A” in “what I have” to “G” in ” What I want”.
As you can see I have other calculations which I will then add to go to the last row in “What I want”
In will have up to 100 stocks in sheet What I have and will next wan the same to move to next and repeat the operation continuing to do so until there are no more.
Thanks Mark
Bookmarks