Help needed with If & Today function

N

Nemo

I have a row where I have dates of the month - C2:AG2. I want a formula,
where if I enter a text in the corresponding row, and if the date is not
todays date, it shud not allow me to enter text.
Cl 1 Cl 2 Cl 3 Cl 4 Cl 14 Cl 15
Cl 16
Eg: Row A - 1 apr 2 apr 3 apr 4 apr ..... 14 apr 15 apr 16 apr
Row B - P

Now if I try to enter a value in row B, it shud not allow as the date is not
today date. I shud be able to enter value only if the date corresponds to
todays date.

Is this possible, Pls help !!!!! Hope I've made my question clear.
 
G

Glenn

Nemo said:
I have a row where I have dates of the month - C2:AG2. I want a formula,
where if I enter a text in the corresponding row, and if the date is not
todays date, it shud not allow me to enter text.
Cl 1 Cl 2 Cl 3 Cl 4 Cl 14 Cl 15
Cl 16
Eg: Row A - 1 apr 2 apr 3 apr 4 apr ..... 14 apr 15 apr 16 apr
Row B - P

Now if I try to enter a value in row B, it shud not allow as the date is not
today date. I shud be able to enter value only if the date corresponds to
todays date.

Is this possible, Pls help !!!!! Hope I've made my question clear.


First, rows are numbered, columns have letters. Getting that right would make
your question more clear.

Look at Data Validation. Assuming you want this behavior in rows 3 through 10,
select C3:AG10 and select Data / Validation. On the Settings tab, for Allow
select Custom and for Formula enter the following:

=C2=TODAY()

Fill in the Input Message and Error Alert tabs as desired and click OK.
 
G

Glenn

Glenn said:
First, rows are numbered, columns have letters. Getting that right
would make your question more clear.

Look at Data Validation. Assuming you want this behavior in rows 3
through 10, select C3:AG10 and select Data / Validation. On the
Settings tab, for Allow select Custom and for Formula enter the following:

=C2=TODAY()

Fill in the Input Message and Error Alert tabs as desired and click OK.

Sorry, should be this:

=C$2=TODAY()
 

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