PC Review


Reply
Thread Tools Rate Thread

Data validation and Arrays

 
 
Ricardo Lopes
Guest
Posts: n/a
 
      6th Mar 2010
When entering the following formula as an Array it works. But adding the same
formula to Data Validation, it displays an error. The same common error when
you enter a wrong formula in the List option.
However, if I use a cell reference instead of a table reference (not range),
it works either with the Array and the Data Validation.
This formula works for both
=OFFSET(rngStart,MATCH(tblAccount[Type],rngColumn,0)-1,1,COUNTIF(rngColumn,tblAccount[Type]),1)
This formula works for the Array only:
=OFFSET(rngStart,MATCH($C$3,rngColumn,0)-1,1,COUNTIF(rngColumn,$C$3),1)

Thanks




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
custom data validation on cells with data validation values AKrobbins Microsoft Excel Worksheet Functions 2 21st Jun 2011 04:20 PM
Data Validation -> Validation list is larger than the cell width Barb Reinhardt Microsoft Excel Programming 1 4th Mar 2010 08:24 PM
unit testing for validation of function with arrays using sample d Gum Microsoft VB .NET 0 6th Nov 2009 10:18 AM
Reading data arrays from multiple data files in excel Hankjam Microsoft Excel Misc 0 7th Feb 2008 08:29 PM
When pasting data into a column with data validation I lose validation check Brad Microsoft Excel Misc 5 17th Apr 2004 01:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:31 AM.