Solved

Reference number in excel

Posted on 2013-12-19
2
258 Views
Last Modified: 2013-12-19
In column Z I have a list of numbers that are in the form of percents. In column AA I have a numbers that have no decimal place. In column AB I want to have the Column Z/Column AA.

I used the following code:     =Z2&"/"&AA2

The result would look something like this: 11%/25. Instead I am getting the following:

.107758620689655/24.874158743

How to I keep the numbers formatted like I want them?

Thanks!
0
Comment
Question by:cansevin
2 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 250 total points
ID: 39729633
=TEXT(Z2,"#%")&"/"&TEXT(AA2,"#")
0
 
LVL 2

Assisted Solution

by:mcj2006
mcj2006 earned 250 total points
ID: 39729659
I'm guessing that for cell AA is formatted to show 0 decimal places and is rounding to 25.
If that is the case you could change your code to
=TEXT(Z2,"#%")&"/"&ROUND(AA2,0)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Everything left of comma in excel 4 44
Distribute Values over date range 15 36
how to reset cell styles? 15 25
Import text from rows into columns? 12 36
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question