A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help needed with If & Today function



 
 
Thread Tools Display Modes
  #1  
Old April 13th, 2010, 08:30 PM posted to microsoft.public.excel.worksheet.functions
nemo
external usenet poster
 
Posts: 23
Default Help needed with If & Today function

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.
  #2  
Old April 13th, 2010, 09:12 PM posted to microsoft.public.excel.worksheet.functions
Glenn[_6_]
external usenet poster
 
Posts: 1,245
Default Help needed with If & Today function

Nemo wrote:
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.
  #3  
Old April 13th, 2010, 09:23 PM posted to microsoft.public.excel.worksheet.functions
Glenn[_6_]
external usenet poster
 
Posts: 1,245
Default Help needed with If & Today function

Glenn wrote:
Nemo wrote:
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.


Sorry, should be this:

=C$2=TODAY()
  #4  
Old April 14th, 2010, 06:27 PM posted to microsoft.public.excel.worksheet.functions
nemo
external usenet poster
 
Posts: 23
Default Help needed with If & Today function

It worked, Thanks a ton !!!!

"Glenn" wrote:

Glenn wrote:
Nemo wrote:
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.


Sorry, should be this:

=C$2=TODAY()
.

  #5  
Old April 14th, 2010, 07:50 PM posted to microsoft.public.excel.worksheet.functions
Glenn[_6_]
external usenet poster
 
Posts: 1,245
Default Help needed with If & Today function

You're welcome!

Nemo wrote:
It worked, Thanks a ton !!!!

"Glenn" wrote:

Glenn wrote:
Nemo wrote:
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.

Sorry, should be this:

=C$2=TODAY()
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.