How to apply number formatting to a Excel formula

swamper8

New Member
Joined
Feb 20, 2010
Messages
7
All, I have three formulas "&'d" together in a single cell.
These were previously in three separate cells right next to one another.
The first and third just show a text result. The 2nd (middle) formula calculates a numerical value based on what's in two other cells (J44 and E39)

The mathematical calculation is showing 10+ decimal places, I'd only like it to show two.
Both formula reference cells (E39/J44) are set to zero decimal places and I set the cell format this formula is in to "% with two decimal places" but neither fixed the issue.

Middle Formula that is calculating -0.0969953.... is shown below:

=F(J48="","",IF(($J$44-$E$39)/$E$39<-0.09,($J$44-$E$39)/E39,IF(($J$44-$E39)/$E$39>0.09,($J$44-$E$39)/E39,"")))

1630005138739.png
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
That worked well thank you. Once I got it rounded down I performed a x100 and /-1 to convert it to a positive whole number percentage. Thanks!

1630016779537.png
 
Upvote 0

Forum statistics

Threads
1,215,443
Messages
6,124,890
Members
449,194
Latest member
JayEggleton

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