selecting month column
Thanks for the suggestion, Patrick. I do get a formula error, though. I'm
using 2007 would that make a difference?
Another question, how does A5 figure in the formula?
TIA
DPingger
"Patrick Molloy" wrote:
a worksheet formula would work for this
=OFFSET(A5,0,MATCH(TEXT(MONTH(TODAY())-1,"00") & "/"
&TEXT(TODAY(),"YYYY"),$B$1:$AA$1,FALSE))
put in DA1 and reolicate down
assumes columns with date headers are B1:AA1 ...change as required.
the MATCH returns the column, and then the offset returns the value for that
column for each row
"DPingger" wrote in message
...
Hello,
My downloaded column data header is formatted by mm/yyyy through 2014, a
total of 6400 rows.
Every month, I need to run a macro that would select last months column
and
copy it to column DA1.
Help, please.
TIA
DPingger
|