Index formula giving error

Emons

New Member
Joined
Feb 3, 2018
Messages
9
Office Version
  1. 365
I have simple data set with 2 columns in sheet 1. i am trying to get column B from Sheet 1 in to Sheet 2 by matching column A. but receiving error with index and match formula. can anyone have a look at this and provide solutions? excel sheet is in this link.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
I'd guess yoou have the UNSPSC codes as text in Sheet 1 and numbers in Sheet 2. try adding an empty string in your match, ie. match(a1&"".... this will force it to be text when searching.
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

How about
Excel Formula:
=INDEX(Sheet1!$B$2:$B$52959,MATCH(A1&"",Sheet1!$A$2:$A$52959,0))
 
Upvote 0
Solution
I'd guess yoou have the UNSPSC codes as text in Sheet 1 and numbers in Sheet 2. try adding an empty string in your match, ie. match(a1&"".... this will force it to be text when searching.

Thanks it worked.
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

How about
Excel Formula:
=INDEX(Sheet1!$B$2:$B$52959,MATCH(A1&"",Sheet1!$A$2:$A$52959,0))

Great. it worked now. i am using Office 365 and updated in profile now. thanks
 
Upvote 0
Glad we could help & thanks for the feedback.
Also you do not need to use Ctrl Shift Enter for that formula. In fact as you are using 365 you never need to use CSE again.
 
Upvote 0

Forum statistics

Threads
1,215,089
Messages
6,123,058
Members
449,091
Latest member
ikke

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