Hello,
See attachment for example
Example.xlsx
I'm working with reporting on some dynamic data from SQL where todays results are only available today, to handle this i'm using IF in excel to only update the value of the cells in question when the date above them is today's date. The issue this gives me is that while it displays values I want, if I were to add 1 to them, the result would become 1, losing the initial value. A workaround for this is if after I update the value through the IF forumla I copy/paste special values.
Effectively what I am looking for in a macro would be something along these lines:
IF value in a column in row 12 = today()
then select values in same column, rows 13 - 21
copy
paste special
end
Sorry for basically asking someone to write a macro for me but I've no experience doing it myself and have been trying to steal other code for a few days and just haven't been able to get it to work
Cheers,
Bookmarks