craigexcel
Active Member
- Joined
- Jun 28, 2006
- Messages
- 298
- Office Version
- 2016
- Platform
- Windows
I’m trying to come up with a custom cell format that will display percentages (only the numbers), separated by the ‘pipe’ character (above the backslash on the keyboard).
Initially, I decided on “00 | 00”, which works fine for nearly all combinations. But of course, some cells will need to be “0 | 100”, or, “100 | 0”, which will then display as “01 | 00”, or, “10 | 00”, which doesn’t reflect the values correctly.
I also tried entering the data as “0,100” which works, but that display seems like it could cause some potential confusion. (At this point, just knowing what the percentages are is the goal. I don’t think the numbers represented by each cell’s contents will need to be used. If so, I can extract by formula.)
Can a custom format be devised that accounts for these too? A custom format is as far as I want to go with this, and can’t use a helper column either. I’d appreciate any suggestions you may have.
[note: a question for work, so those tech details are Excel 2016, running on Windows 10 Enterprise, which is different from my profile.]
Initially, I decided on “00 | 00”, which works fine for nearly all combinations. But of course, some cells will need to be “0 | 100”, or, “100 | 0”, which will then display as “01 | 00”, or, “10 | 00”, which doesn’t reflect the values correctly.
I also tried entering the data as “0,100” which works, but that display seems like it could cause some potential confusion. (At this point, just knowing what the percentages are is the goal. I don’t think the numbers represented by each cell’s contents will need to be used. If so, I can extract by formula.)
Can a custom format be devised that accounts for these too? A custom format is as far as I want to go with this, and can’t use a helper column either. I’d appreciate any suggestions you may have.
[note: a question for work, so those tech details are Excel 2016, running on Windows 10 Enterprise, which is different from my profile.]