formula help

ANE0709

Board Regular
Joined
Feb 2, 2022
Messages
65
Office Version
  1. 365
Platform
  1. Windows
Basically I'm trying to find where the number in Sheet 6 B150 is located on Sheet 5 column B, if it matches then concat Sheet 5 G-H. i tried a few different routes but cant seem to pull it together. Maybe you guys can help?

this is the closest ive gotten Sheet 6 H150=IF(VLOOKUP(B150,'Sheet 5'!B:B,1,0),CONCAT('Sheet 5'!G2," ",'Sheet 5'!H2),"")


formula in H on sheet 6
1647615078164.png


combine notes on sheet 5 column G-H if number in B match.
1647615195738.png
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
How about
Excel Formula:
=TextJoin(" ",,XLOOKUP(B150,'Sheet 5'!B$2:B$5000,'Sheet 5'!G$2:H$5000,"",0))
 
Upvote 0
Solution
How about
Excel Formula:
=TextJoin(" ",,XLOOKUP(B150,'Sheet 5'!B$2:B$5000,'Sheet 5'!G$2:H$5000,"",0))[/CO
[/QUOTE]

when applied to that single row it works, but not when applied to the rest of the column
 
Upvote 0
In what way?
i copied yours directly into that cell H150 it worked. but when i went up to H2 and applied =TEXTJOIN(" ",,XLOOKUP(B2,'Sheet 5'!B2:B5000,'Sheet 5'!G2:H5000,"",0)) then flash fill down the column nothing populated at all. the formula also changed with each row...

H5=TEXTJOIN(" ",,XLOOKUP(B5,'Sheet 5'!B5:B5003,'Sheet 5'!G5:H5003,"",0))

H100=TEXTJOIN(" ",,XLOOKUP(B100,'Sheet 5'!B100:B5098,'Sheet 5'!G100:H5098,"",0))
 
Upvote 0
You need to put the $ signs back in to stop the row range from changing.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,387
Members
448,956
Latest member
JPav

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top