Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 79
  • Last Modified:

Formatting Problem within Excel

EE Pros,

I think this may be a rather simple but irritating problem.  I have two columns of numbers that I'm trying to make into, in the third column a ratio number.  HOWEVER, while the formula I use works in most cells, I have a problem with one particular cell and I cannot seem to figure it out.  

The file attached shows clearly the issue.  

Any help is appreciated.

B.
Formatting-Problem.xls
0
Bright01
Asked:
Bright01
  • 2
1 Solution
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Try this....
In F11
=TEXT(D11/E11,"0.0")&"X"

Open in new window

You can use the Text function in your other formulas as well to limit the decimal points.
0
 
Bright01Author Commented:
Subodh,

Thank you!  You certainly fixed the problem.  However, I'm still curious why I got different formatting in that field when it was identical to the others.  Any idea?

B.
0
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome.
That is because in your other cells, result after division is a whole number but with the cell in problem when you divide 10 by 3, you don't get a whole number but the result should be a decimal number like 3.33333333 and to limit the decimal the Text function is used.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now