# More Decimals After F2+Enter

#### famaral

##### New Member
Hi. I'm new here and have been trying to find an answer to this forever... I believe this might be of interest to other users as well.

My problem is: after I press F2 + Enter on a calculated cell, excel changes rounding to match the formula's outcome decimal places.

Question: How do I prevent this from happening?

Example:
A1 = 1
B1 = 3
C1= A1/B1

If my spreadsheet is formatted to zero decimal places, C1=0.
However, after I go to C1 and F2+Enter, C1=0.33.

My objective is to prevent this from happening. In other words, C1 should continue to be =0. I'm hoping the solution to this is a change in settings that overrides this activity for good, rather than using a formula or vba code, which for my use would be a no go. I work with financial models, and most of the time I'm not interested in seeing the decimals. But I have to view and edit my formulas very frequently. Changing the decimals as I do this has become very annoying...

Regards,
famaral

### Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

#### NeonRedSharpie

##### Well-known Member
Code:
``0;-0;0``

I'm not sure why it's changing. But I would say, if you want to always have it just display the first number only, force that in custom formatting with the above code. But if you're in financials, you probably want red or () around negative numbers.

Code:
``0;[Red]-0;0``
Code:
``0;[Red](0);0``
Code:
``0;(0);0``

Replies
16
Views
825
Replies
3
Views
849
Replies
7
Views
538
Replies
3
Views
387
Replies
0
Views
182

1,191,696
Messages
5,988,149
Members
440,131
Latest member
EricMoz

### 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.

### Which adblocker are you using?

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

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