copy cell based on date

G

Guest

what I'm trying to do is copy a cell to a different cell based on date (day),
A1 34 b1 todays date c1 copys only if todays say = 15th
I thought the formula woul look something like this =if(today()=day(15),a1,"")
but that don't work.
is this possiable at all?

Thanks
 
R

Rick Rothstein \(MVP - VB\)

what I'm trying to do is copy a cell to a different cell based on date
(day),
A1 34 b1 todays date c1 copys only if todays say = 15th
I thought the formula woul look something like this
=if(today()=day(15),a1,"")
but that don't work.
is this possiable at all?

TODAY is a date and DAY(15) is an error. You need to apply the DAY function
to TODAY() and then see if that is 15...

=IF(DAY(TODAY())=15,A1,"")

Rick
 
G

Guest

I worked out the formla but noe need to know how to stop an if fuction from
show false if it don't match and leave what was there in the first place.
 
R

Rick Rothstein \(MVP - VB\)

what I'm trying to do is copy a cell to a different cell based on date
I worked out the formla but noe need to know how to stop an if fuction from
show false if it don't match and leave what was there in the first place.

Leave what was where in the first place? You can't have a formula and a
value in the same cell.... if you have a formula, it must generate the
cell's content.

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top