Return text in Column A if Column B and Column K match

Return text in Column A if Column B and Column K match

Post by amVhbm5pZS » Sat, 15 Dec 2007 04:04:01


Greetings Experts:

I need help in doing what should be very simple...I would like a formula or
a macro that will return the text from Column A and plant in Column L if
Column B and Column K are the same.

Example: B = 12345 K=12345 Text in Column A is entered in Column L

Any help you can provide would be greatly appreciated.
--
jeannie v
 
 
 

Return text in Column A if Column B and Column K match

Post by David Bidd » Sat, 15 Dec 2007 04:11:57

=IF(B2=K2,A2,"")
I assume you want a blank in L if B and K are not the same?
--
David Biddulph

 
 
 

Return text in Column A if Column B and Column K match

Post by T. Valk » Sat, 15 Dec 2007 04:16:45

With a formula...

Entered in L1 then copied down as needed:

=IF(B1=K1,A1,"")

--
Biff
Microsoft Excel MVP
 
 
 

Return text in Column A if Column B and Column K match

Post by amVhbm5pZS » Sat, 15 Dec 2007 04:30:02

This worked beautifully....Thank you so much.
--
jeannie v
 
 
 

Return text in Column A if Column B and Column K match

Post by T. Valk » Sat, 15 Dec 2007 04:36:25

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP