Indirect or Vlookup or what....

J

Jambruins

In a tab called WEEKEND I have the following:
cell Q2: LAA
cell R2: 38845-LAA
cell Q4: ATL
cell R4: 38845-ATL

In a tab called LAA:
cell S2: 38810-LAA
cell S3: 38811-LAA
cell S4: 38812-LAA
etc. all the way down to S163

Another tab call ATL has the same type of data as the LAA tab.

I would like a formula in cell S2 in the WEEKEND tab to do the following:
Find the value of cell R2 in column S of the LAA tab and enter Yes if the
corresponding cell in column B in the LAA tab says AWAY. I would then like
to be able to copy this formula into cell S4 to do the same thing but with
the ATL tab.

Let me know if you don't understand what I am asking and I will try and
explain. Thanks in advance.
 
G

galimi

The following formula should work

=IF(INDEX(LAA!$B$2:$B$170,MATCH(R2,LAA!$S$2:$S$170,0))="Away","Yes","No")
 
J

Jambruins

galimi, that works but I want to be able to copy it down so it works in cell
S4 which would look in the ATL tab. I need the formula to look into the tab
that corresponds with what is in cell Q. Thanks for the help.
 

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