You are here:

Excel/Excel formula questions

Advertisement


Question
I need a formula that compares the contents to column a with column b then outputs Y or N if the items in column b match column A.

Answer
I'm assuming that, for instance, you want a Y in cell C2 if A2 is the same as B2, and an N in C2 otherwise. If this is the case, then use in C2 the formula:

=IF(A2=B2,"Y","N")

and copy this formula down col C.

[I see that in your comments, you've revised the question. Please re-ask as a separate question to AllExperts, and I'll be happy to help.]


About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

All Answers

Answers by Expert:


Ask Experts

Volunteer


Stuart Resnick

Expertise

I can answer any question relating to MS Excel formulas, or to programming with vba (Visual Basic for Applications) in the Excel environment

Experience

As a consultant, I've designed Excel tools since the 90s, working for the Federal Reserve Bank, AT&T, and (currently) Gap Inc.