Rounding in CONCATENATE

ToreiCZ

New Member
Joined
Sep 28, 2019
Messages
3
Hello,

I can´t solve the issue with CONCATENATE and rounding in this function like this screen: https://ctrlv.cz/oEeL.
I need to round it only to 2 numbers after the decimal point (examlpe: 7.13%, not 7.15615615686164489%)
Can anyone help me with this function to solve it?

PS: Function is: =CONCATENATE(VLOOKUP(G3;A1:E24;4;0);" / ";VLOOKUP(G3;A1:E24;5;0);" = ";SUM(VLOOKUP(G3;A1:E24;4;0)/(VLOOKUP(G3;A1:E24;5;0))*100);"%"), screen ( https://ctrlv.cz/oEeL)


Thank you.
Regards,
ToreiCZ
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
You just need to round the SUM before concatenating

=CONCATENATE(VLOOKUP(G3;A1:E24;4;0);" / ";VLOOKUP(G3;A1:E24;5;0);" = ";ROUND(SUM(VLOOKUP(G3;A1:E24;4;0)/(VLOOKUP(G3;A1:E24;5;0))*100);2);"%")
 
Upvote 0
You just need to round the SUM before concatenating

=CONCATENATE(VLOOKUP(G3;A1:E24;4;0);" / ";VLOOKUP(G3;A1:E24;5;0);" = ";ROUND(SUM(VLOOKUP(G3;A1:E24;4;0)/(VLOOKUP(G3;A1:E24;5;0))*100);2);"%")

I tried it but without 2 on end, tried with zeros, **** i was so close :(

Thank you so much anyway :)
 
Upvote 0
Or try:

=CONCATENATE(VLOOKUP(G3;A1:E24;4;0);" / ";VLOOKUP(G3;A1:E24;5;0);" = ";
TEXT(VLOOKUP(G3;A1:E24;4;0)/VLOOKUP(G3;A1:E24;5;0);"0.00%")
 
Upvote 0

Forum statistics

Threads
1,214,411
Messages
6,119,356
Members
448,888
Latest member
Arle8907

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