Need help building a cross reference table

  • Thread starter Thread starter Tony Rozynski
  • Start date Start date
T

Tony Rozynski

Im trying to create a worksheet that that is a cross reference and looks
like:
A B C D
a1 b1 c1
1 x12 Y Y
2 x13 Y Y
3 x14 Y

From a data list that looks like:
A B
1 a1 x12
2 a1 x14
3 b1 x12
4 b1 x13
5 c1 x13

I've tried a few ways to get the "Y" to appear properly but without success.
Can someone provide some help?

Thanks in advance!
 
Assume your data list is in the range F1:G5 and your results table is in the
range A1:D4.

In cell B2 put this formula:

=IF(SUMPRODUCT(($G$1:$G$5=$A2)*($F$1:$F$5=B$1))>0,"Y","")

then copy it into the remaining cells.

--
Regards
Andy Wiggins
www.BygSoftware.com
Home of "Save and BackUp",
"The Excel Auditor" and "Byg Tools for VBA"
 

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