ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Combining data (numeric format) in multiple cells into one cell (t (https://www.excelbanter.com/excel-discussion-misc-queries/11881-combining-data-numeric-format-multiple-cells-into-one-cell-t.html)

GNAC SID

Combining data (numeric format) in multiple cells into one cell (t
 
If you have data in multiple cells that is numeric format, can the
data be combined into one cell as text? Example. Cell A1 is
number of correct answers (9), Cell B1 is number of questions (10).
In cell C1, would like to display data as (9-10)?

Can a formula be created that will automatically do this so as to
eliminate having to type the information?

JE McGimpsey

one way:

=A1 & "-" & B1

In article ,
"GNAC SID" <GNAC wrote:

If you have data in multiple cells that is numeric format, can the
data be combined into one cell as text? Example. Cell A1 is
number of correct answers (9), Cell B1 is number of questions (10).
In cell C1, would like to display data as (9-10)?

Can a formula be created that will automatically do this so as to
eliminate having to type the information?


Max

Try in say, C1: =A1&"-"&B1
Copy C1 down

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"GNAC SID" <GNAC wrote in message
...
If you have data in multiple cells that is numeric format, can the
data be combined into one cell as text? Example. Cell A1 is
number of correct answers (9), Cell B1 is number of questions (10).
In cell C1, would like to display data as (9-10)?

Can a formula be created that will automatically do this so as to
eliminate having to type the information?





All times are GMT +1. The time now is 04:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com