Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default text combined with values

In cell A1 I typed s1.5 in cell A2 I typed s2 how do I add the values to
equal s3.5?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default text combined with values

Hi,

I wouldn't start from having numbers and letters in the same cell but if you
must

=LEFT(A1,1)&MID(A1,2,LEN(A1))+MID(A2,2,LEN(A2))

Why not use a custom format for the cell of

"s"0.0

Now you can sum them using sum
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"gloucester county" wrote:

In cell A1 I typed s1.5 in cell A2 I typed s2 how do I add the values to
equal s3.5?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default text combined with values

Try
=SUMPRODUCT(--SUBSTITUTE(A1:A2,"s",))

--
Jacob (MVP - Excel)


"gloucester county" wrote:

In cell A1 I typed s1.5 in cell A2 I typed s2 how do I add the values to
equal s3.5?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 430
Default text combined with values



"gloucester county" wrote:

In cell A1 I typed s1.5 in cell A2 I typed s2 how do I add the values to
equal s3.5?


There are probably more efficient ways to do this but I experimented and
this seems to work.

Insert a column and enter the following formula:

=(RIGHT(A1,(LEN(A1)-1))*1)

Copy that formula down the length of your calculations.

In the cell where you want the sum insert this formula:

="s"&SUM(D1:D2)

Depending on how many of these you need to do it would be easier probably to
enter them separately as text and number and then combine the s to the number
after the fact.
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
Text in a combined spreadsheet Davidfalkirk Excel Discussion (Misc queries) 0 March 9th 09 11:14 AM
How to type text in combined cell? Eric Excel Discussion (Misc queries) 5 March 27th 08 10:57 PM
Figures and text combined Sarah P[_2_] Excel Worksheet Functions 2 February 27th 07 08:09 AM
Combined & Sorted Text Fields andyholland Excel Discussion (Misc queries) 3 August 21st 05 08:59 PM
text and values combined in one cel Bart Excel Discussion (Misc queries) 1 December 14th 04 08:36 AM


All times are GMT +1. The time now is 01:10 AM.

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"