Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BG BG is offline
external usenet poster
 
Posts: 31
Default How to combine text and numbers in exel

Can anyone tell me how to combine text and numbers in the same cell so that
only the number is a value e.g. Fuel at 17 ltrs/hr This would be entered into
one cell but could be used as part of a formula where only the number 17 is
used?
--
BG
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default How to combine text and numbers in exel

BG wrote...
Can anyone tell me how to combine text and numbers in the same cell so that
only the number is a value e.g. Fuel at 17 ltrs/hr This would be entered into
one cell but could be used as part of a formula where only the number 17 is
used?


Try the number format

"Fuel at "0" ltrs/hr"

which will bracket the number value with the text "Fuel at " before
and " ltrs/hr" after.

Alternatively, if this were in a table, use a column heading like Fuel
Flow Rate (ltrs/hr). If it weren't a table, consider using a long
label in the cell to the left or right of the cell containing the
number.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default How to combine text and numbers in exel

I'm thinking your single example is not all encompassing as far as what you
really want; but, for the question you actually asked, you could Custom
Format the cell. Select the cell or cells you want to have "ltrs/hr" apply
to, click Format/Cells on the menu bar, select Custom from the Category list
and put this in the Type field...

0" ltrs/hr"

If you need decimal values, then decide on how many and put this (I'll
assume two decimal places) in the Type field instead...

0.00" ltrs/hr"

--
Rick (MVP - Excel)


"BG" wrote in message
...
Can anyone tell me how to combine text and numbers in the same cell so
that
only the number is a value e.g. Fuel at 17 ltrs/hr This would be entered
into
one cell but could be used as part of a formula where only the number 17
is
used?
--
BG


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default How to combine text and numbers in exel

Use Harlan's format pattern (I missed the "Fuel at " part of your question).

--
Rick (MVP - Excel)


"Rick Rothstein" wrote in message
...
I'm thinking your single example is not all encompassing as far as what
you really want; but, for the question you actually asked, you could
Custom Format the cell. Select the cell or cells you want to have
"ltrs/hr" apply to, click Format/Cells on the menu bar, select Custom from
the Category list and put this in the Type field...

0" ltrs/hr"

If you need decimal values, then decide on how many and put this (I'll
assume two decimal places) in the Type field instead...

0.00" ltrs/hr"

--
Rick (MVP - Excel)


"BG" wrote in message
...
Can anyone tell me how to combine text and numbers in the same cell so
that
only the number is a value e.g. Fuel at 17 ltrs/hr This would be entered
into
one cell but could be used as part of a formula where only the number 17
is
used?
--
BG



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using If to combine answers including text and numbers Tablespider Excel Worksheet Functions 3 September 27th 08 12:16 AM
exel formula for numbers to text Arun Excel Worksheet Functions 2 September 15th 08 06:33 PM
How do I combine Exel workbooks? Kman Excel Worksheet Functions 2 May 5th 08 09:26 PM
formula for automatic up on numbers in cell in exel Not a wiz Excel Worksheet Functions 1 June 12th 07 12:08 AM
Combine many exel files to one MichalH Excel Worksheet Functions 1 March 27th 06 05:52 PM


All times are GMT +1. The time now is 09:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"