Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2012, 10:11 AM
oRie oRie is offline Excel Formula Windows 7 64bit Excel Formula Office 2003
Novice
Excel Formula
 
Join Date: Feb 2012
Posts: 1
oRie is on a distinguished road
Default Excel Formula

Hi all!

I've run into a particular formula that I cannot seem to come up with. My issue is:

I have a file called "Test" that contains 2 worksheets. Sheet1 and Sheet2.

Sheet1 contains 4 different columns. Sheet2 contains only 3 columns.



I need to compare a long list of entries on Sheet1 located in Column B and Column C to entries located on Sheet2 in columns A and B.

IF Column B and C on Sheet1 match Columns A and B on Sheet2 THEN output column C located on Sheet2 to Column D on Sheet1.

I have absolutely no idea how to go about accomplishing this. Anyone have any ideas?
Reply With Quote
  #2  
Old 02-28-2012, 10:29 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Excel Formula Windows XP Excel Formula Office 2003
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi
could you please post a sample file? Thx
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 02-28-2012, 07:48 PM
JBeaucaire JBeaucaire is offline Excel Formula Windows XP Excel Formula Office 2003
Advanced Beginner
 
Join Date: Dec 2011
Posts: 51
JBeaucaire is on a distinguished road
Default

1) On sheet1, put this formula in D1, then copy down... you will get errors on the non-matches....

=INDEX(Sheet2!$C$1:$C$200, MATCH($B1&"-"&$C1, INDEX(Sheet2!$A$1:$A$200&"-"&Sheet2!$B$1:$B$200, 0), 0))

2) Copy that column

3) Do an Edit > Paste Special > Values to remove the formulas

4) With the data still highlighted, press F5 and click on Special

5) Select Constants > Errors > OK

6) Press DELETE and the error cells will be gone.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Formula ** Excel Formula djreyrey Excel 8 04-15-2011 03:55 PM
excel help Formula sellspeed Excel 15 03-10-2010 10:57 AM
Needs help to find excel formula- Please aamer_1983 Excel 2 07-13-2009 01:46 AM
Excel Formula Help masoom84 Excel 1 03-07-2009 09:41 AM
Excel Formula Excel Formula Help Shahzad Excel 1 12-07-2008 04:13 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft