if/ match formula

jasman

Board Regular
Joined
Oct 30, 2010
Messages
141
Hi. i have the below code which looks at two worksheets with data on, and if column B on sheet4 matches column B on supplierPartListSearch then it pulls through data in column A on sheet4.

sheet 4 has 1657 rows and supplierPartListSearch has 4135. The problem is that the formula only works for the first 1657 rows ?



=IF(ISNUMBER(MATCH("*"&Sheet4!B2&"*",supplierPartListSearch!$B$2:$B$4135,0)),Sheet4!$A$2:$A$4135)
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
just realised the results that formulae did give were wrong anyway. so ive tried the below but it doesnt return no results?

=IF(supplierPartListSearch!$B$2=Sheet4!B2:B1657,Sheet4!$A$2:$A$1657,0)
 
Upvote 0
just realised the results that formulae did give were wrong anyway. so ive tried the below but it doesnt return no results?

=IF(supplierPartListSearch!$B$2=Sheet4!B2:B1657,Sheet4!$A$2:$A$1657,0)
See if this does what you want...

=INDEX(Sheet4!A$2:A$1657,MATCH(supplierPartListSearch!B2,Sheet4!B$2:B$1657,0))
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

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