Using Table Column Data in MATCH

M

MNS

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top