LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default RangeName Define Limitations

I have a lookup table and I want a defined range name that returns
only those records where ACTIVE = "Y"
I am using this defined name in a field data validation with a list
dropdown.

Table Structure with 4 fields, Column A,B,C, and D.
Ltype LTypeSh LicFee LicActive
Add-on Apr08 Add Apr08 550 N
Add-on Jan08 Add Jan08 500 Y
Tmp1 Apr08 T1 Apr08 10500 N
Tmp1 Jan08 T1 Jan08 10000 Y


This formula does NOT work to return the 2 active records I expect
where the LicActive field = "Y".
Name Define: LicRec
OFFSET(Lists!$B$2,0,0,COUNTIF(Lists!$D:$D,"='Y'"), 1)

This formula DOES return all and only the 4 records
Name Define: LicRec
OFFSET(Lists!$B$2,0,0,COUNTIF(Lists!$D:$D,"a'"),1 )

Any thoughts would be appreciated,
Dennis

 
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
Testing For a RangeName JCS Excel Discussion (Misc queries) 3 August 13th 08 01:08 PM
Confused with RangeName CellREfs Jim May Excel Discussion (Misc queries) 1 October 22nd 06 11:11 PM
union of RangeName Bob Phillips Excel Programming 1 October 20th 06 12:35 PM
RangeName blocks of data CLR Excel Programming 7 March 3rd 06 05:57 PM
Concatenate RangeName for INDEX? CLR Excel Worksheet Functions 5 November 30th 04 07:47 PM


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