Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mns mns is offline
external usenet poster
 
Posts: 23
Default Using Table Column Data in MATCH

I have a table which was created using external data (SQL Server) with
Microsoft Query. The table has two columns: Project numbers, and time codes
assigned to the projects.

On a separate worksheet, I am tring to create a data validation list which
looks up a project number typed in a cell and populates the list with project
time codes. I'm and using this formula:
OFFSET(ProjectStart,MATCH(D3,ProjectColumn,0)-1,1,COUNTIF(ProjectColumn,D3)

However, I get #n/a. So I broke the formula down and found that (at least)
the MATCH(D3,ProjectColumn,0) is returning a #n/a. I tried this within a
single cell to test the formula.

I have used table columns as lookup arrays before without trouble. I was
wondering if the issue is with the Query (which I used so the data could be
pre-sorted ascending), or the table, or ??

Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Using Table Column Data in MATCH

Sounds weird. Maybe your numbers are stored as text:
http://www.dailydoseofexcel.com/arch...tored-as-text/

Take a look at this too:
http://www.contextures.com/xlFunctions03.html


Regards,
Ryan---

--
RyGuy


"MNS" wrote:

I have a table which was created using external data (SQL Server) with
Microsoft Query. The table has two columns: Project numbers, and time codes
assigned to the projects.

On a separate worksheet, I am tring to create a data validation list which
looks up a project number typed in a cell and populates the list with project
time codes. I'm and using this formula:
OFFSET(ProjectStart,MATCH(D3,ProjectColumn,0)-1,1,COUNTIF(ProjectColumn,D3)

However, I get #n/a. So I broke the formula down and found that (at least)
the MATCH(D3,ProjectColumn,0) is returning a #n/a. I tried this within a
single cell to test the formula.

I have used table columns as lookup arrays before without trouble. I was
wondering if the issue is with the Query (which I used so the data could be
pre-sorted ascending), or the table, or ??

Any help would be appreciated.

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
Match data in 2 columns and return data from 3rd column gwtreece[_2_] Excel Worksheet Functions 1 April 4th 07 03:27 PM
counting data in one column and match with data in another column jenny Excel Discussion (Misc queries) 1 October 26th 06 09:16 PM
Two column value match table look up John Excel Worksheet Functions 4 March 2nd 06 02:20 AM
how to match data of one column with other sadrukhan Excel Worksheet Functions 1 January 30th 06 02:46 PM
Trying to match a text string to a data table, any suggestions? OCONUS Excel Worksheet Functions 3 December 2nd 05 06:39 PM


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