LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Comparing 2 cells using vlookup

I am attempting to compare 2 cells in one file and bring another cell over if
true.

In my 1st file I have a number Cell a2 = 988881, Cell b2 = 203, d2 = 204, f2
= 205. In my 2nd file I have the same scenario except b2 can equal 203, 204,
205. I want to do a vlookup into my 1st file and once it finds 988881 then go
to cell B2 and match the number (203, 204, or 205). If it matches both
988881 and 203 then bring cell c2 over, if it doesn't then ignore and go to
d2, if it doesn't again go to f2. Once it finds a match in one of those 3
cells, pull the data from the following cell C2, E2 or G2.


1st File
A2 B2
988881 204

2nd File
A2 B2 C2 D2 E2 F2 G2
988881 203 .444 204 1.25 205 .85

Thanks in advance for any help!
--
Baltimore Ravens

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing cells when they are not exactly the same Garry Excel Discussion (Misc queries) 2 April 2nd 07 10:26 AM
comparing two spreadsheets using vlookup and compare Sweetetc Excel Worksheet Functions 6 September 14th 06 08:25 AM
comparing cells Help me Excel Worksheet Functions 1 May 9th 06 10:01 PM
Comparing Cells gdeleos Excel Worksheet Functions 2 March 16th 06 08:22 PM
Vlookup - Comparing two lists in different worksheets Lozby Excel Worksheet Functions 3 August 9th 05 12:14 PM


All times are GMT +1. The time now is 01:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"