Inserting two cell values into a new cell + text

M

mmednick

I am likely making this much more difficult than it needs to be...

I need to take the numeric values from two cells and insert them into a
new cell in this format: "898 - 1398". Where 898 and 1398 are numeric
values generated by a formula and are subject to change.

What I have is: =VALUE(A1)&" - "&VALUE(A2)
but the result gives me one or more decimal places in each number
result which I know is a result of the string concatination process.

My question is: How can I rewrite this cell's formula to zero out the
decimal entries form the source cells which is hidden from view due to
its superfluous nature, but makes its way into my string result?

Thanks for the help,
I know I am the N00bish
 
M

mmednick

The solutions with the TEXT and ROUND functions and a second variable
set to 0 both seem to work, but they cut out the comma I need in
numbers grater than one thousand, any thought on how to keep comma
format?

The N00bish
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top