Conditional cell reference

  • Thread starter Thread starter guy
  • Start date Start date
G

guy

It is simple enough to have a cell reference another cell with a formula like so =A1

What if a cell reference is dependent on a date? For example, during the first 30 days in 2004, the
cell reference is =A1 and the next x number of days the reference will be =A2.
 
Hi
try something like
=IF(AND(TODAY()>=DATE(2004,1,1),TODAY<=DATE(2004,1,31)),A1,A2)

--
Regards
Frank Kabel
Frankfurt, Germany

guy said:
It is simple enough to have a cell reference another cell with a formula like so =A1

What if a cell reference is dependent on a date? For example, during the first 30 days in 2004, the
cell reference is =A1 and the next x number of days the reference
will be =A2.
 

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

Back
Top