Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 157
Default IF VLOOKUP & CONCATENATE

Can someone help me please? Need to know, how would I put into a formula, if
$B3=0, then leave cell blank, otherwise, look-up cell A3 on sheet 2 from
B2:B572, and if a match is found, concatenate from sheet 2 cells O3, P3 and
Q3.

This is the formula I have as far as I could go with it, but didn't know how
to get the concatenate part in there

=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default IF VLOOKUP & CONCATENATE

Are you saying you want the related values in columns O, P and Q based on the
VLOOKUP or do you always want specifically cells O3,P3 and Q3.

if the first,
=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,14,0)&VLOOKUP($A3,'sheet
2'!$B$2:$U$572,15,0)&VLOOKUP($A3,'sheet 2'!$B$2:$U$572,16,0))

if the 2nd
=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,whatever column your return
value is in,0)&O3&P3&Q3)

If you want spaces, add &" "& in between.

"Tasha" wrote:

Can someone help me please? Need to know, how would I put into a formula, if
$B3=0, then leave cell blank, otherwise, look-up cell A3 on sheet 2 from
B2:B572, and if a match is found, concatenate from sheet 2 cells O3, P3 and
Q3.

This is the formula I have as far as I could go with it, but didn't know how
to get the concatenate part in there

=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default IF VLOOKUP & CONCATENATE

Tasha,

Try this

=IF(AND(B3<"",NOT(ISNA(LOOKUP(A3,Sheet2!B2:B572)) )),Sheet2!O3&Sheet2!O3&Sheet2!Q3,"")

Mike

"Tasha" wrote:

Can someone help me please? Need to know, how would I put into a formula, if
$B3=0, then leave cell blank, otherwise, look-up cell A3 on sheet 2 from
B2:B572, and if a match is found, concatenate from sheet 2 cells O3, P3 and
Q3.

This is the formula I have as far as I could go with it, but didn't know how
to get the concatenate part in there

=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 157
Default IF VLOOKUP & CONCATENATE

Worked like a charm (the first one was what I needed).....Thanks so much
Sean!!!!

"Sean Timmons" wrote:

Are you saying you want the related values in columns O, P and Q based on the
VLOOKUP or do you always want specifically cells O3,P3 and Q3.

if the first,
=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,14,0)&VLOOKUP($A3,'sheet
2'!$B$2:$U$572,15,0)&VLOOKUP($A3,'sheet 2'!$B$2:$U$572,16,0))

if the 2nd
=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,whatever column your return
value is in,0)&O3&P3&Q3)

If you want spaces, add &" "& in between.

"Tasha" wrote:

Can someone help me please? Need to know, how would I put into a formula, if
$B3=0, then leave cell blank, otherwise, look-up cell A3 on sheet 2 from
B2:B572, and if a match is found, concatenate from sheet 2 cells O3, P3 and
Q3.

This is the formula I have as far as I could go with it, but didn't know how
to get the concatenate part in there

=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF VLOOKUP & CONCATENATE

Sean, one more thing.... I added a space and a semicolon between the
concatenated records, but for records that don't have anything in O3, P3 and
Q3..... I'm getting two semicolons....is there anyway for it to be blank if
there is nothing in those fields for the found record?

"Sean Timmons" wrote:

Are you saying you want the related values in columns O, P and Q based on the
VLOOKUP or do you always want specifically cells O3,P3 and Q3.

if the first,
=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,14,0)&VLOOKUP($A3,'sheet
2'!$B$2:$U$572,15,0)&VLOOKUP($A3,'sheet 2'!$B$2:$U$572,16,0))

if the 2nd
=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,whatever column your return
value is in,0)&O3&P3&Q3)

If you want spaces, add &" "& in between.

"Tasha" wrote:

Can someone help me please? Need to know, how would I put into a formula, if
$B3=0, then leave cell blank, otherwise, look-up cell A3 on sheet 2 from
B2:B572, and if a match is found, concatenate from sheet 2 cells O3, P3 and
Q3.

This is the formula I have as far as I could go with it, but didn't know how
to get the concatenate part in there

=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default IF VLOOKUP & CONCATENATE

Thanks!!! I tried your formula Mike, but am not getting anything now.

"Mike H" wrote:

Tasha,

Try this

=IF(AND(B3<"",NOT(ISNA(LOOKUP(A3,Sheet2!B2:B572)) )),Sheet2!O3&Sheet2!O3&Sheet2!Q3,"")

Mike

"Tasha" wrote:

Can someone help me please? Need to know, how would I put into a formula, if
$B3=0, then leave cell blank, otherwise, look-up cell A3 on sheet 2 from
B2:B572, and if a match is found, concatenate from sheet 2 cells O3, P3 and
Q3.

This is the formula I have as far as I could go with it, but didn't know how
to get the concatenate part in there

=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default IF VLOOKUP & CONCATENATE

Try this

=IF(AND(B3<0,NOT(ISNA(LOOKUP(A3,Sheet2!B2:B572))) ),Sheet2!O3&Sheet2!O3&Sheet2!Q3,"")

Mike

"sueshe" wrote:

Thanks!!! I tried your formula Mike, but am not getting anything now.

"Mike H" wrote:

Tasha,

Try this

=IF(AND(B3<"",NOT(ISNA(LOOKUP(A3,Sheet2!B2:B572)) )),Sheet2!O3&Sheet2!O3&Sheet2!Q3,"")

Mike

"Tasha" wrote:

Can someone help me please? Need to know, how would I put into a formula, if
$B3=0, then leave cell blank, otherwise, look-up cell A3 on sheet 2 from
B2:B572, and if a match is found, concatenate from sheet 2 cells O3, P3 and
Q3.

This is the formula I have as far as I could go with it, but didn't know how
to get the concatenate part in there

=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default IF VLOOKUP & CONCATENATE

Well, if all are blank, it would be easier...

=IF($B3=0,"",IF(VLOOKUP($A3,'sheet 2'!$B$2:$U$572,14,0)&VLOOKUP($A3,'sheet
2'!$B$2:$U$572,15,0)&VLOOKUP($A3,'sheet 2'!$B$2:$U$572,16,0)="","",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,14,0)&"; "&VLOOKUP($A3,'sheet

2'!$B$2:$U$572,15,0)&"; "&VLOOKUP($A3,'sheet 2'!$B$2:$U$572,16,0)))

"Tasha" wrote:

Sean, one more thing.... I added a space and a semicolon between the
concatenated records, but for records that don't have anything in O3, P3 and
Q3..... I'm getting two semicolons....is there anyway for it to be blank if
there is nothing in those fields for the found record?

"Sean Timmons" wrote:

Are you saying you want the related values in columns O, P and Q based on the
VLOOKUP or do you always want specifically cells O3,P3 and Q3.

if the first,
=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,14,0)&VLOOKUP($A3,'sheet
2'!$B$2:$U$572,15,0)&VLOOKUP($A3,'sheet 2'!$B$2:$U$572,16,0))

if the 2nd
=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,whatever column your return
value is in,0)&O3&P3&Q3)

If you want spaces, add &" "& in between.

"Tasha" wrote:

Can someone help me please? Need to know, how would I put into a formula, if
$B3=0, then leave cell blank, otherwise, look-up cell A3 on sheet 2 from
B2:B572, and if a match is found, concatenate from sheet 2 cells O3, P3 and
Q3.

This is the formula I have as far as I could go with it, but didn't know how
to get the concatenate part in there

=IF($B3=0,"",VLOOKUP($A3,'sheet 2'!$B$2:$U$572,

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
CONCATENATE & VLOOKUP David Brereton[_2_] Excel Discussion (Misc queries) 4 August 28th 08 09:36 AM
Concatenate a VLOOKUP lehigh46 Excel Worksheet Functions 2 August 27th 08 08:58 PM
Vlookup & Concatenate? Saxman[_2_] Excel Discussion (Misc queries) 14 July 30th 07 02:24 PM
Concatenate and Vlookup Lynneth Excel Worksheet Functions 8 September 10th 05 09:02 PM
Can you use Concatenate with the If function with vlookup in the i simoneaux Excel Worksheet Functions 2 February 7th 05 08:45 PM


All times are GMT +1. The time now is 03:02 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"