Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 385
Default can vlookup pull from 2 columns into 1 column?

I have two spreadsheets, File A has 3 cols of numbers that I am trying to use
as a cross reference that has two columns of possibilites into File B. What I
would like to be able to do is have a vlookup created in File B that says to
go to File A col A and find a match, when you find the match look in col C.
If number is there then pull into File B, if empty go to col B to pull into
File B.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default can vlookup pull from 2 columns into 1 column?

Try creating a helper column with something like B1&C1 in it. In the
vlookup, use

=vlookup(B1&C1, ... )

HTH,
Barb Reinhardt

"jennifer" wrote:

I have two spreadsheets, File A has 3 cols of numbers that I am trying to use
as a cross reference that has two columns of possibilites into File B. What I
would like to be able to do is have a vlookup created in File B that says to
go to File A col A and find a match, when you find the match look in col C.
If number is there then pull into File B, if empty go to col B to pull into
File B.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 385
Default can vlookup pull from 2 columns into 1 column?

What I am needing to do is lookup one column against a column in another file
and pull in the data out of two columns (if one is blank then it grabs the
2nd column of data)

"Barb Reinhardt" wrote:

Try creating a helper column with something like B1&C1 in it. In the
vlookup, use

=vlookup(B1&C1, ... )

HTH,
Barb Reinhardt

"jennifer" wrote:

I have two spreadsheets, File A has 3 cols of numbers that I am trying to use
as a cross reference that has two columns of possibilites into File B. What I
would like to be able to do is have a vlookup created in File B that says to
go to File A col A and find a match, when you find the match look in col C.
If number is there then pull into File B, if empty go to col B to pull into
File B.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default can vlookup pull from 2 columns into 1 column?

Try this logic:

=IF(VLOOKUP(........first_column....)="",VLOOKUP(. .......other_column....),VLOOKUP(......first_colum n....))

Biff

"jennifer" wrote in message
...
What I am needing to do is lookup one column against a column in another
file
and pull in the data out of two columns (if one is blank then it grabs the
2nd column of data)

"Barb Reinhardt" wrote:

Try creating a helper column with something like B1&C1 in it. In the
vlookup, use

=vlookup(B1&C1, ... )

HTH,
Barb Reinhardt

"jennifer" wrote:

I have two spreadsheets, File A has 3 cols of numbers that I am trying
to use
as a cross reference that has two columns of possibilites into File B.
What I
would like to be able to do is have a vlookup created in File B that
says to
go to File A col A and find a match, when you find the match look in
col C.
If number is there then pull into File B, if empty go to col B to pull
into
File B.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 385
Default can vlookup pull from 2 columns into 1 column?

This looks as if it might work for what I am needing. I will try this when I
get in the office in the morning. Thank you. Your help is greatly appreciated.

"T. Valko" wrote:

Try this logic:

=IF(VLOOKUP(........first_column....)="",VLOOKUP(. .......other_column....),VLOOKUP(......first_colum n....))

Biff

"jennifer" wrote in message
...
What I am needing to do is lookup one column against a column in another
file
and pull in the data out of two columns (if one is blank then it grabs the
2nd column of data)

"Barb Reinhardt" wrote:

Try creating a helper column with something like B1&C1 in it. In the
vlookup, use

=vlookup(B1&C1, ... )

HTH,
Barb Reinhardt

"jennifer" wrote:

I have two spreadsheets, File A has 3 cols of numbers that I am trying
to use
as a cross reference that has two columns of possibilites into File B.
What I
would like to be able to do is have a vlookup created in File B that
says to
go to File A col A and find a match, when you find the match look in
col C.
If number is there then pull into File B, if empty go to col B to pull
into
File B.




Reply
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
i NEED TO PULL OUT THE MOST RECENT DATE FROM A COLUMN- Public Utility 555 Excel Worksheet Functions 4 January 5th 07 09:39 PM
Using a date range in a formula to pull info to the correct column Tricia Excel Worksheet Functions 6 December 13th 06 10:16 PM
How do I pull out every nth value from a column of data in excel? m.mines Excel Discussion (Misc queries) 8 August 9th 06 09:16 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
How do I pull the column header next to a Max formula? mconway Excel Worksheet Functions 2 May 10th 06 05:08 AM


All times are GMT +1. The time now is 09:20 AM.

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

About Us

"It's about Microsoft Excel"