Andrew Watson
New Member
- Joined
- Feb 3, 2016
- Messages
- 13
- Office Version
- 365
- Platform
- Windows
HI all. I've trawled through lots posts both here and elsewhere and I can't find an answer applicable to my problem.
I have a cell on one tab that we use as a delivery docket and it contains a package number. In this instance we shall call it cell G11 has a value of 1/26 typed in there for package 1 of 26. I then need to transfer this information onto a delivery label which is on a different tab. Currently this data is split into 2 cells to show a 1 of 26 on the label. I have split the 1/26 by using =LEFT('DATA ENTRY SHEET'!G11,1) and this extracts the first digit and I also have been using the RIGHT version to extract the right number. This isn't an issue until I start to get into double digits area and it only gets the first and last digit. The first picture shows the data field that the package numbers gets entered into (this has to stay like this for ease of use by the end user).
The second screen shot shows the output data field where the above information comes from. I just need to know if there is a single formula that can extract either one or two numbers either side of the "/".
I'm not great on VBA but I already have a VBA that is used to automatically email the spreadsheet once completed.
Any advice is much appreciated.
I have a cell on one tab that we use as a delivery docket and it contains a package number. In this instance we shall call it cell G11 has a value of 1/26 typed in there for package 1 of 26. I then need to transfer this information onto a delivery label which is on a different tab. Currently this data is split into 2 cells to show a 1 of 26 on the label. I have split the 1/26 by using =LEFT('DATA ENTRY SHEET'!G11,1) and this extracts the first digit and I also have been using the RIGHT version to extract the right number. This isn't an issue until I start to get into double digits area and it only gets the first and last digit. The first picture shows the data field that the package numbers gets entered into (this has to stay like this for ease of use by the end user).
The second screen shot shows the output data field where the above information comes from. I just need to know if there is a single formula that can extract either one or two numbers either side of the "/".
I'm not great on VBA but I already have a VBA that is used to automatically email the spreadsheet once completed.
Any advice is much appreciated.