SOLVED
conditional string value
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
pokhan27
8 - Asteroid
09-24-2021
11:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Expert
i am trying to get the value "-" if the cell is Null or 0. and have 0% based on the calculation
Desired output
I want to insert the conditional in following formula, after data cleansing i already have Null values as 0 but now i need to insert "-" to all ) values.
Solved! Go to Solution.
Labels:
- Labels:
- Data Investigation
6 REPLIES 6
binu_acs
21 - Polaris
09-24-2021
01:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
can you provide some sample input values and expected output values?
mnmemilymnm
8 - Asteroid
09-24-2021
01:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Would an IF THEN ELSE formula work? I'm thinking something like:
if([32% /68% OTC and Appt Data]*100=0)
then "-"
else tostring(([32% /68% OTC and Appt Data]*100),0)+'%'
endif
09-27-2021
06:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Input:
| OTC Data | Appt Data | OTC and Appt Combined | |
| 119% | 168% | 152% | |
| 39% | 90% | 73% | |
| 104% | 90% | 94% | |
| 99% | 73% | 81% | |
| 39% | 47% | 44% | |
| 55% | 46% | 49% | |
| % | % | % |
Output data
| OTC Data | Appt Data | OTC and Appt Combined |
| 119% | 168% | 152% |
| 39% | 90% | 73% |
| 104% | 90% | 94% |
| 99% | 73% | 81% |
| 39% | 47% | 44% |
| 55% | 46% | 49% |
| 0% | 0% | 0% |
22 - Nova
09-27-2021
06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
09-27-2021
06:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
always you are a life saver thank you.
22 - Nova
09-27-2021
07:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Happy to help : ) @pokhan27
Cheers and have a nice day!
