Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default data validation across multiple columns

I'm attempting to include a stop message when a person enters "0"
across multiple columns. The data entry person has the option to use
"1" or "0", however if they use zeros across the multiple columns I
want the person to be alerted to this error. Here is the the data
structu

ID V1 V2 V3
1 0 0 0
2 1 0 0

I'm currently using this formula to flag cases that reported all "0"
in the three columns: =IF(SUM(V1:V2)=0,"Missing", "NA".

However I want to use the data validation tool instead so the person
doing the data entry gets a warning that a data entry error occurred.
I used the above formula in Data Validation: Customs and when I tested
to see if an error message came up after entering "0" in all three
columns no message came up. I am not macro savvy so I was hoping I can
solve this issue with formula. Any help is appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default data validation across multiple columns

Hi,

Am Fri, 6 May 2011 07:38:42 -0700 (PDT) schrieb AKrobbins:

ID V1 V2 V3
1 0 0 0
2 1 0 0

However I want to use the data validation tool instead so the person
doing the data entry gets a warning that a data entry error occurred.
I used the above formula in Data Validation: Customs and when I tested
to see if an error message came up after entering "0" in all three
columns no message came up. I am not macro savvy so I was hoping I can
solve this issue with formula. Any help is appreciated.


V1 in column B, V2 in C ans so on. Select B2:D2 and then Data Valisation
and the formula:
=AND(B2<2,COUNTIF($B2:$D2,0)<=1)


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
Data Validation on multiple columns NDBC Excel Discussion (Misc queries) 3 August 19th 09 03:22 AM
Data Validation & multiple columns Bob Excel Discussion (Misc queries) 1 April 9th 07 10:24 AM
Data validation for Multiple columns NC Excel Discussion (Misc queries) 2 May 11th 05 01:51 PM
data validation list from two columns otinky Excel Discussion (Misc queries) 1 March 21st 05 01:13 PM


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