Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Summing Text & Numbers

I need to sum a range of cells that will contain both text and numbers. The
text will always be an "s" and the number will be a number between 0.25 and
10, in multiples of 0.25. The entry in the cells to be counted will be
entered as "s.25" or"s.5.50", for example, and the number following the "s."
needs to be totaled.

There will be some blank cells in the range.

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default Summing Text & Numbers

I know it sounds Ridiculous but at this time of the day and assuming the
range of values is A1:A20 - try this:
{=SUM(VALUE(RIGHT(A1:A20,LEN(A1:A20)-(LEN(A1:A20)-LEN(SUBSTITUTE(A1:A20,".",""))))))}
*** This is an array formula, and is to be entered with CTRL+SHIFT+ENTER
rather than with simply ENTER.
The curly brackets {} are not to be typed manually, those are entered by the
Excel, when the formula is entered as an Array formula ***
Micky


"bgcooker" wrote:

I need to sum a range of cells that will contain both text and numbers. The
text will always be an "s" and the number will be a number between 0.25 and
10, in multiples of 0.25. The entry in the cells to be counted will be
entered as "s.25" or"s.5.50", for example, and the number following the "s."
needs to be totaled.

There will be some blank cells in the range.

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Summing Text & Numbers

the number will be a number between 0.25
and 10, in multiples of 0.25.
The entry in the cells to be counted will be
entered as "s.25"


So, that "s.25" has the value of 0.25 and not 25, right? If that's correct
then this will be rather complicated to do.

You can make this really simple by not combining text and numbers. Keep the
text in one cell and the number in another cell.

--
Biff
Microsoft Excel MVP


"bgcooker" wrote in message
...
I need to sum a range of cells that will contain both text and numbers. The
text will always be an "s" and the number will be a number between 0.25
and
10, in multiples of 0.25. The entry in the cells to be counted will be
entered as "s.25" or"s.5.50", for example, and the number following the
"s."
needs to be totaled.

There will be some blank cells in the range.

Thanks




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
Summing Cells with Text and Numbers Trevor Little Excel Worksheet Functions 11 March 17th 10 03:32 PM
Summing Text with Numbers bgcooker Excel Discussion (Misc queries) 5 January 21st 10 12:25 AM
Summing Numbers and Text in same cell Andrewba Excel Discussion (Misc queries) 3 August 8th 08 03:57 PM
Help with summing numbers in cells that also contain text Michael Slater New Users to Excel 6 September 1st 07 05:38 AM
summing cells with text and numbers val Excel Worksheet Functions 1 August 2nd 06 03:26 AM


All times are GMT +1. The time now is 02:12 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"