error in formula

punit83

Board Regular
Joined
Jan 17, 2018
Messages
66
Office Version
  1. 2019
Platform
  1. Windows
i am trying to use a formula and getting error, please help what i am doing wrong.

Error in Index&Match Formula.xlsx
ABCDE
1Item #Item#Doc#
294729A#N/A947295112
394729B947305113
494729C
594730A
694730B
794730C
Sheet1
Cell Formulas
RangeFormula
B2B2=INDEX(D:E,MATCH(LEFT(A2,5),D:D,0),2)


Thanks In Advance
 

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.
You are comparing text to a number
try converting
Excel Formula:
=INDEX(D:E,MATCH(LEFT(A2,5),TEXT(D:D,0),0),2)
 
Upvote 0
maybe I had a typo. It does for me:
Book1
ABCDE
1Item #Item#Doc#
294729A5112947295112
394729B947305113
494729C
594730A
694730B
794730C
Sheet2
Cell Formulas
RangeFormula
B2B2=INDEX(D:E,MATCH(LEFT(A2,5),TEXT(D:D,0),0),2)
 
Upvote 0
Solution
maybe I had a typo. It does for me:
Book1
ABCDE
1Item #Item#Doc#
294729A5112947295112
394729B947305113
494729C
594730A
694730B
794730C
Sheet2
Cell Formulas
RangeFormula
B2B2=INDEX(D:E,MATCH(LEFT(A2,5),TEXT(D:D,0),0),2)
Thank you Sir, worked
 
Upvote 0
My pleasure, happy to help.

Best Wishes.
 
Upvote 0

Forum statistics

Threads
1,215,338
Messages
6,124,351
Members
449,155
Latest member
ravioli44

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