Mike

ismilewhenyousmile

Banned user
Joined
May 23, 2017
Messages
3
Hello,
Cell A1 = SX17010006
Cell A2 = SX17010006
Cell A3 = SX16120001
Cell A4 = SX15070004
I need a formula which read first four alphanumeric characters in any of above cells and return relevant year (i.e. 2017 or 2016 or 2015) basis finding. If it is SX17 then result should be 2017, if it is SX16 then result should be 2016, so on.
Kindly assist.
 

Excel 2010
ABCD
1SX17010006201720172017
2
2d
Cell Formulas
RangeFormula
B1="20" & MID(A1,3,2)
C1=("20" & MID(A1,3,2))+0
D1=DATE(("20" & MID(A1,3,2))+0,1,1)



"Nonsense reply" - means the reply or the solution that prescribed does not make any sense because it did not fit to the purpose.

What information do you require?

N.B. D1 is a date formatted to show Year.
C1 is a number
 
Last edited:
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
What a pathetic reply to say the least.

You cross-posted here:-

Extract year from alphanumeric serial numbers.

and received a solution from a formula expert. You failed to tell anyone that you had cross-posted. Read the forum rules for this forum and stop wasting people's time.

The solution you received here and at the other forum absolutely fits your purpose in accordance with your explanation of the scenario.

Joe4's (and make note that he is an MVP) reply is not "any answer" and if you don't like it then we suggest that you go off and PAY a programmer to do your work and stop leeching off the Volunteers, here and other forums, who give their time freely to help the likes of you.
 
Upvote 0
The solution you received here and at the other forum absolutely fits your purpose in accordance with your explanation of the scenario.
I don't think I have seen one of these since the back in the olden days of newsgroups, but I wonder what is the possibility that we have a real, honest-to-goodness "troll" visiting us here?
 
Upvote 0

Forum statistics

Threads
1,224,034
Messages
6,176,001
Members
452,695
Latest member
Alhassan

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