&Function

larsvane

New Member
Joined
Apr 17, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi I am making an excel with some ranges in it. Bottom left, left, middle, richt, top right. And I want to show the full range with an & function. As shown below.
Bottom LeftLeftMiddleRightTop RightRange
2468102-10

In the "Range" column I am using an =A2&""&E2 function. This works fine when it is a regular number. However I also want to do this with percentages. The output is in decimals instead of percentages. Example below
Bottom LeftLeftMiddleRightTop RightRange
5%7%9%11%13%Reality: 0,05-0,13
Want: 5%-13%

Is this possible with the & function or should I use a different kind?

Many thanks in advance!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
use TEXT( cell, "%")

="reality "&TEXT(A2,"0.0%")&" to "&TEXT(B2,"0.0%")

text(A2,"0.0%")&""&text(E2,"0.0%")

Book20
ABCD
1
220%70%reality 20.0% to 70.0%
Sheet1
Cell Formulas
RangeFormula
D2D2="reality "&TEXT(A2,"0.0%")&" to "&TEXT(B2,"0.0%")


if you want to round the result - then just text(a2,"0%")

if you want the - inbetween then you need
text(A2,"0.0%")&" - "&text(E2,"0.0%")

rounds
text(A2,"0%")&" - "&text(E2,"0%")

Book20
ABCDEF
1see it rounds down and up
220.4%70.8%20.4% - 70.8%20% - 71%
Sheet1
Cell Formulas
RangeFormula
D2D2=TEXT(A2,"0.0%")&" - "&TEXT(B2,"0.0%")
F2F2=TEXT(A2,"0%")&" - "&TEXT(B2,"0%")
 
Upvote 0
Solution

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

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