TEXT to return "0 / 0%"

_eNVy_

Board Regular
Joined
Feb 9, 2018
Messages
66
Office Version
  1. 365
Platform
  1. Windows
I have a need to return a combination of two figures in a single cell, one non-decimal and another in a percentage.

Excel Formula:
=GETPIVOTDATA("Count of Reviews",'Tester'!$A$46,"Age Band","65+","Time Status","Not Overdue")&" / "&TEXT(GETPIVOTDATA("% Overall Overdue",'Tester'!$A$46,"Age Band","65+","Time Status","Not Overdue"),"#%")

For cells in my Pivot that has a higher percentage than 0 it returns what I need it to (eg. "4 / 2%").
When it comes to values of 0% in my pivot, it only returns a blank : "0 / %"

CONCAT without the TEXT syntax returns "0 / 0". Unless I am missing something?
Excel Formula:
=CONCAT(GETPIVOTDATA("Count of Reviews",'Tester'!$A$46,"Age Band","65+","Time Status","Not Overdue")," / ",GETPIVOTDATA("% Overall Overdue",'Tester'!$A$46,"Age Band","65+","Time Status","Not Overdue"))

How can I have a return of : "0 / 0%" ?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Maybe try something like this?

=CONCAT(GETPIVOTDATA("Count of Reviews",'Tester'!$A$46,"Age Band","65+","Time Status","Not Overdue")," / ",if(GETPIVOTDATA("% Overall Overdue",'Tester'!$A$46,"Age Band","65+","Time Status","Not Overdue")="",0,GETPIVOTDATA("% Overall Overdue",'Tester'!$A$46,"Age Band","65+","Time Status","Not Overdue"),"%")
 
Upvote 0

Forum statistics

Threads
1,223,883
Messages
6,175,167
Members
452,615
Latest member
bogeys2birdies

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