Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Alan
 
Posts: n/a
Default Adding up cells that include text in them

I have a time sheet where I want to add the last 3 characters in each of
the cells to get a grand total for the row.
Here's a sample:


WED THUR FRI SAT SUN TOTAL


N3 - 7.5 N3 - 7.5 N3 - 7.5 N3 - 7.5


If I treat the 5 columns as A to E, the total in cell F2 might be the
formula =value(right(A2,3))+value(right(B2,3))+value(right (C2,3))+value
(right(D2,3))+value(right(E2,3))

The problem is that the cell B2 (THUR) is blank so Excel interprets this as
an error. Can anyone offer me a formula that will work if it is blank? I
also will have a total of 14 cells to add (2 weeks) - this is just a
sample. It will also not do to place 0's in the empty cells - it's too
ugly.

TIA!

Alan

  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Tue, 23 Aug 2005 22:45:22 GMT, Alan wrote:

I have a time sheet where I want to add the last 3 characters in each of
the cells to get a grand total for the row.
Here's a sample:


WED THUR FRI SAT SUN TOTAL


N3 - 7.5 N3 - 7.5 N3 - 7.5 N3 - 7.5


If I treat the 5 columns as A to E, the total in cell F2 might be the
formula =value(right(A2,3))+value(right(B2,3))+value(right (C2,3))+value
(right(D2,3))+value(right(E2,3))

The problem is that the cell B2 (THUR) is blank so Excel interprets this as
an error. Can anyone offer me a formula that will work if it is blank? I
also will have a total of 14 cells to add (2 weeks) - this is just a
sample. It will also not do to place 0's in the empty cells - it's too
ugly.

TIA!

Alan


See the answer to the identical question you posted about 20 minutes earlier
than this one!



--ron
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
How to combine text from multiple cells? sierra Excel Worksheet Functions 3 July 11th 05 01:55 PM
Adding text in formulas Andreas Excel Worksheet Functions 2 July 11th 05 12:07 PM
retrieve text from merged cells Eric Excel Worksheet Functions 3 July 9th 05 09:17 AM
Referencing cells text output if it meets specific conditions Chersie Excel Worksheet Functions 3 April 18th 05 04:34 PM
Adding a lot of text to MS Excel cells macaleer16 Excel Discussion (Misc queries) 2 March 25th 05 02:31 PM


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