Index if left or right digit is a match

Joined
Jan 13, 2021
Messages
20
Office Version
  1. 2007
Platform
  1. Windows
As shown below, if the first (left) digit I am looking for in cell B:B is "3", I want it to bring up the cell to its left which would be 30-Nov-2021.

I've tried =INDEX(A:A,LEFT(B:B)="3") and I've tried =INDEX(A:A,LEFT(MATCH("3",B:B,0))) but that's not working.

Please help! Thank you.

2-Dec-202198
1-Dec-202125
30-Nov-202130
29-Nov-202166
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
How about
Excel Formula:
=INDEX(A:A,MATCH("3",LEFT(B:B,1),0))
This may need to be confirmed with Ctrl Shift Enter, rather than just Enter.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,453
Messages
6,124,930
Members
449,195
Latest member
Stevenciu

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