cunningAce
Board Regular
- Joined
- Dec 21, 2017
- Messages
- 91
- Office Version
- 365
- Platform
- Windows
Hi,
I have in cell B4, 201814, formatted as number.
I am using the following combination of Left & Right to change the number to 201714.
=LEFT(B4,4)-1&RIGHT(B4,2) This gives me the desired result.
I am then using this within a Match or Vlookup formula (both of which return N/A, when the data I am looking up does contain 201714.
Formula example I am using:
=MATCH((LEFT(B4,4)-1&RIGHT(B4,2)),PROJECTIONS!B:B,0)
or
=VLOOKUP((LEFT(B4,4)-1&RIGHT(B4,2)),PROJECTIONS!B:D,3,0)
both returning N/A
Any help much appreciated.
I have in cell B4, 201814, formatted as number.
I am using the following combination of Left & Right to change the number to 201714.
=LEFT(B4,4)-1&RIGHT(B4,2) This gives me the desired result.
I am then using this within a Match or Vlookup formula (both of which return N/A, when the data I am looking up does contain 201714.
Formula example I am using:
=MATCH((LEFT(B4,4)-1&RIGHT(B4,2)),PROJECTIONS!B:B,0)
or
=VLOOKUP((LEFT(B4,4)-1&RIGHT(B4,2)),PROJECTIONS!B:D,3,0)
both returning N/A
Any help much appreciated.