Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default data entry criteria


hi

i have a spreadsheet that has columns to indicate the outcome of
certain accounts at work.

for example:

Not proceeding
Gone Elsewhere
Changed Mind
Going Ahead

etc.

i need to make it so that you can only enter 'y' in of of them...if you
enter it in another it will flag it up or not let you?

can anyone help?


--
cwignall
------------------------------------------------------------------------
cwignall's Profile: http://www.excelforum.com/member.php...o&userid=36880
View this thread: http://www.excelforum.com/showthread...hreadid=565949

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default data entry criteria

It may be easier to say '1' for yes and '0' for no. That way you can
have a simple formula:
=IF(SUM(A2:D2)<1, "Error", "OK")
where columns A-D are your 4 columns

FunkySquid

cwignall wrote:
hi

i have a spreadsheet that has columns to indicate the outcome of
certain accounts at work.

for example:

Not proceeding
Gone Elsewhere
Changed Mind
Going Ahead

etc.

i need to make it so that you can only enter 'y' in of of them...if you
enter it in another it will flag it up or not let you?

can anyone help?


--
cwignall
------------------------------------------------------------------------
cwignall's Profile: http://www.excelforum.com/member.php...o&userid=36880
View this thread: http://www.excelforum.com/showthread...hreadid=565949


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default data entry criteria

Select your cells, then use data / data validation... custom, with a formula like

=COUNTIF($C5:$F5,"y")=1

Where $C5:$F5 are the cells that should only have 1 y in them.

You can select multiple rows and use the same formula, just use the address of the first row of the
selection in the formula.


HTH,
Bernie
MS Excel MVP


"cwignall" wrote in message
...

hi

i have a spreadsheet that has columns to indicate the outcome of
certain accounts at work.

for example:

Not proceeding
Gone Elsewhere
Changed Mind
Going Ahead

etc.

i need to make it so that you can only enter 'y' in of of them...if you
enter it in another it will flag it up or not let you?

can anyone help?


--
cwignall
------------------------------------------------------------------------
cwignall's Profile: http://www.excelforum.com/member.php...o&userid=36880
View this thread: http://www.excelforum.com/showthread...hreadid=565949



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
Adding data in a list that meets a specific criteria Sarah Excel Worksheet Functions 4 April 7th 06 06:29 PM
prevent data entry into cell? keif Excel Worksheet Functions 3 April 3rd 06 08:37 PM
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM


All times are GMT +1. The time now is 05:28 PM.

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

About Us

"It's about Microsoft Excel"