which function

G

Guest

The data looks like

A B C
1/1/06 crop 1 ryegrass
2/1/06 crop 1 ryegrass
7/1/06 crop 2 millett
12/5/06 crop 1 ryegrass

that data is generated in a query and changes greatly with each query but
will have no more than 2 crops and all crop numbers will remain consist
within each query. I need a function to allow me to lookup and return the
information from crop1 into a single cell and the same for crop2. since dta
is not sorted by crop lookup statements are not happy. any suggestions
regarding other functions or a way to pull the info out.
 
P

Peo Sjoblom

You don't need it to be sorted, use vlookup for an exact match

=VLOOKUP(Lookup_Value,Lookup_Table,2,0)
 

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