I have this text on a1 1501 - 1520
Cell b1 I need answer 20 , that is 1520 minus 1501 ( + 1 )
I have this text on a1 1501 - 1520
Cell b1 I need answer 20 , that is 1520 minus 1501 ( + 1 )
Try this in B1
Please Login or Register to view this content.
1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.
Tom
Hi,
If the numeric values are in the same format across, try the following:
=RIGHT(A1,4)-LEFT(A1,4)+1
or in case if your numbers are not always 4 digit each.
=REPLACE(A1,1,FIND("-",A1),"")-LEFT(A1,FIND("-",A1)-1)+1
Data Range
A B 1 1501 - 1520 20
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
Thank you all works as needed , will also collect that of
ALKEY maybe will need it else where
You're welcome, glad it worked for you.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks