Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 202
Default Validation of cells who is dependent on each other

I'm working in a worksheet where I have three cells, in which it is only
allowed to fill in values in one of them.

How do I make a validation rule, which give an error-message, if I'm trying
to fill values in more than one.

Jane
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Validation of cells who is dependent on each other

Try:

Assume data is in cells A1 to C1

Highlight these cells, select Data Validation, Select CUSTOM and set formula
to:

=COUNTA(A1:C1)=1

Set error message e.g. "Only enter a value in one of the cells A1 to C1"

OK

HTH

"Jane" wrote:

I'm working in a worksheet where I have three cells, in which it is only
allowed to fill in values in one of them.

How do I make a validation rule, which give an error-message, if I'm trying
to fill values in more than one.

Jane

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 202
Default Validation of cells who is dependent on each other

Thanks a lot!
--
Jane


"Toppers" skrev:

Try:

Assume data is in cells A1 to C1

Highlight these cells, select Data Validation, Select CUSTOM and set formula
to:

=COUNTA(A1:C1)=1

Set error message e.g. "Only enter a value in one of the cells A1 to C1"

OK

HTH

"Jane" wrote:

I'm working in a worksheet where I have three cells, in which it is only
allowed to fill in values in one of them.

How do I make a validation rule, which give an error-message, if I'm trying
to fill values in more than one.

Jane

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
dependent lists on data validation Chris Excel Discussion (Misc queries) 3 November 8th 07 12:03 AM
Data Validation and Dependent Lists Q Sean Excel Worksheet Functions 4 May 19th 07 07:19 PM
Data Validation & Dependent Lists Bob Excel Worksheet Functions 3 December 21st 06 02:38 PM
custom dependent list validation ben h Excel Worksheet Functions 1 October 24th 05 05:31 AM
Dependent List- Data Validation Annie Excel Worksheet Functions 2 September 23rd 05 03:40 PM


All times are GMT +1. The time now is 05:05 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"