if condition or array

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I am a little ( a lot) confused.

I want to, without using a macro, look through a range of
cells (a5-a7)for a value contained in another cell(a1).
If a match then take a range of cells and copy to another.
ie:
cell a1 = angels

the range
cell a5 = yankees
cell a6 = angels
cell a7 = mariners

Thanks
 
Hi
If you want for example 'copy' the value from column B use
=VLOOKUP(A1,A5:B7,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

Back
Top