Format for % in a concatenated field

R

Robin Chapple

I have a calculated field in a report that includes a percentage.

="30 =" & (30/(Count([surname]))*100) & "%"

How do I format the percentage to two decimal places?

Thanks,

Robin Chapple
 
P

Peo Sjoblom

I would use



--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)

Why the *100?
to get the percentage use
something like

="30 =" &TEXT(ROUND(30/COUNT(whatever),2),"0.00%")
 
J

JE McGimpsey

Rounding to 2 decimal places will cause 0.12345 to display as

12.00%

TEXT automatically rounds, so if the OP's desire was to have the
percentage display as

12.35%

then TEXT(30/COUNT(...),"0.00%") will do that.

Peo Sjoblom said:
I would use



--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)

Why the *100?
to get the percentage use
something like

="30 =" &TEXT(ROUND(30/COUNT(whatever),2),"0.00%")



Robin Chapple said:
I have a calculated field in a report that includes a percentage.

="30 =" & (30/(Count([surname]))*100) & "%"

How do I format the percentage to two decimal places?

Thanks,

Robin Chapple
 
P

Peo Sjoblom

You are right, thought process wasn't working.

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



JE McGimpsey said:
Rounding to 2 decimal places will cause 0.12345 to display as

12.00%

TEXT automatically rounds, so if the OP's desire was to have the
percentage display as

12.35%

then TEXT(30/COUNT(...),"0.00%") will do that.

Peo Sjoblom said:
I would use



--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)

Why the *100?
to get the percentage use
something like

="30 =" &TEXT(ROUND(30/COUNT(whatever),2),"0.00%")



Robin Chapple said:
I have a calculated field in a report that includes a percentage.

="30 =" & (30/(Count([surname]))*100) & "%"

How do I format the percentage to two decimal places?

Thanks,

Robin Chapple
 
R

Robin Chapple

Thanks Peo,

Appreciated.

Robin Chapple

Rounding to 2 decimal places will cause 0.12345 to display as

12.00%

TEXT automatically rounds, so if the OP's desire was to have the
percentage display as

12.35%

then TEXT(30/COUNT(...),"0.00%") will do that.

Peo Sjoblom said:
I would use



--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)

Why the *100?
to get the percentage use
something like

="30 =" &TEXT(ROUND(30/COUNT(whatever),2),"0.00%")



Robin Chapple said:
I have a calculated field in a report that includes a percentage.

="30 =" & (30/(Count([surname]))*100) & "%"

How do I format the percentage to two decimal places?

Thanks,

Robin Chapple
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top