wrightyrx7
06-11-2013, 07:57 AM
Hi all,
I am putting together a macro that takes hours worth of work away by doing all the calculations and splitting.
I have managed to do all the basic stuff but this is a little more complicated.
My spreadsheet has a couple of thousand rows of data, i need the macro to check for the following:-
If DATA14 (Column N) = YES and RATE (Column D) = 21.81
I need this line splitting into two to replace the original. (would be better if i could move the original data to another sheet to show the ones that have been split)
One with 87% of the rate
One with 13% of the rate (Data8 will always = OLHA on this row)
Then the total will be recalculated based on the new rate.
Please see screenshot below.
If you need any more information please let me know.
http://i42.tinypic.com/2mxhfd2.jpg
Thanks in advance
Chris
I am putting together a macro that takes hours worth of work away by doing all the calculations and splitting.
I have managed to do all the basic stuff but this is a little more complicated.
My spreadsheet has a couple of thousand rows of data, i need the macro to check for the following:-
If DATA14 (Column N) = YES and RATE (Column D) = 21.81
I need this line splitting into two to replace the original. (would be better if i could move the original data to another sheet to show the ones that have been split)
One with 87% of the rate
One with 13% of the rate (Data8 will always = OLHA on this row)
Then the total will be recalculated based on the new rate.
Please see screenshot below.
If you need any more information please let me know.
http://i42.tinypic.com/2mxhfd2.jpg
Thanks in advance
Chris