#1   Report Post  
Posted to microsoft.public.excel.misc
Brian Hearty via OfficeKB.com
 
Posts: n/a
Default Compulsory Entry

I have a spreadsheet where users enter text in one field followed by a date
in the next (text in col. B, dates in col. C - not always "todays" date)
Some users enter the text but forget about the date, this causes problems
with stats. How can I force users to always enter the date in column C if
they have entered text in column B?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200512/1
  #2   Report Post  
Posted to microsoft.public.excel.misc
B. R.Ramachandran
 
Posts: n/a
Default Compulsory Entry

Hi,

Here are some suggestions. Let's suppose that your data start in Row 2.

1. If column D is not already empty, insert a new column between the
current C and D, and enter the following formula in D2 and auto-fill the
column. When a user enters a text in B2, D2 would show the warning "<--Enter
Date")

OR

2. Enter the following formula in C2 and autofill.
=IF(ISBLANK(B26),"","Enter date")
When a user enters a text in B2, C2 would show "Enter date". ANY kind of
entry in C2 would overwrite the formula (so this is a one-time solution for
each cell in column C)
=IF(ISBLANK(B2)+ISNUMBER(C2)=0,"<-- Enter Date","")

3. You could use this Conditional Formatting approach in conjunction with
one of the above.
Select the entire range of column C (say C2:C101), which of course would be
empty at the beginning) -- "Format" -- "Conditional Formatting" -- under
Conditon 1 "Formula Is" =ISBLANK(B2)+ISNUMBER(C2)=0 -- "Format" button
-- in "Patterns" Tab select a color for cell-shading -- "OK".
When a user enters a text in a cell column B, the column C of the
corresponding row would color up as a warning.

Regards,
B. R. Ramachandran



"Brian Hearty via OfficeKB.com" wrote:

I have a spreadsheet where users enter text in one field followed by a date
in the next (text in col. B, dates in col. C - not always "todays" date)
Some users enter the text but forget about the date, this causes problems
with stats. How can I force users to always enter the date in column C if
they have entered text in column B?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200512/1

  #3   Report Post  
Posted to microsoft.public.excel.misc
B. R.Ramachandran
 
Posts: n/a
Default Compulsory Entry

Hi,

Sorry for posting this again. In my previous reply, a formula, for reasons
I don't know, has gone to a wrong location.

Here are some suggestions. Let's suppose that your data start in Row 2.

1. If column D is not already empty, insert a new column between the
current C and D, and enter the following formula in D2 and auto-fill the
column.

=IF(ISBLANK(B2)+ISNUMBER(C2)=0,"<-- Enter Date","")

When a user enters a text in B2, D2 would show the warning "<--Enter
Date")

OR

2. Enter the following formula in C2 and autofill.

=IF(ISBLANK(B26),"","Enter date")

When a user enters a text in B2, C2 would show "Enter date". ANY kind of
entry in C2 would overwrite the formula (so this is a one-time solution for
each cell in column C)


3. You could use this Conditional Formatting approach in conjunction with
one of the above.
Select the entire range of column C (say C2:C101), which of course would be
empty at the beginning) -- "Format" -- "Conditional Formatting" -- under
Conditon 1 "Formula Is" =ISBLANK(B2)+ISNUMBER(C2)=0 -- "Format" button
-- in "Patterns" Tab select a color for cell-shading -- "OK".
When a user enters a text in a cell column B, the column C of the
corresponding row would color up as a warning.

Regards,
B. R. Ramachandran



"Brian Hearty via OfficeKB.com" wrote:

I have a spreadsheet where users enter text in one field followed by a date
in the next (text in col. B, dates in col. C - not always "todays" date)
Some users enter the text but forget about the date, this causes problems
with stats. How can I force users to always enter the date in column C if
they have entered text in column B?

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200512/1

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
latest entry billandrus Excel Worksheet Functions 3 October 24th 05 10:51 PM
How do you create a selection box for data entry within excel Ligia Magnus Excel Discussion (Misc queries) 1 May 25th 05 08:10 PM
limit text entry in a range of cells QTPRM Excel Discussion (Misc queries) 2 May 25th 05 03:52 AM
Data Validation / Cell Entry Steve Jones Excel Discussion (Misc queries) 4 March 23rd 05 03:23 PM
Move the last entry in a column to a different cell, when the loc. MicroSoft Excell (?) Excel Worksheet Functions 2 January 7th 05 09:29 PM


All times are GMT +1. The time now is 01:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"