Hi, I wonder if someone may be able to help me please.
I'm trying to put together the following formula in VBA: =IF(AND($C3<>$D3,$B3="B&C"),$D3-$C3,0), but I'm having a little difficulty in doing so.
I've put together the following code snippet which will add the calculation to each row within a given range to the last used row.
But Debug shows a 'Compile' error.Please Login or Register to view this content.
I just wondered whether someone could possibly look at this please and let me know where I'm going wrong.
Many thanks and kind regards
Bookmarks