Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default formula question


A
1
a
2
1
w

in the case ,the following upper ...
i want to sum only number.

the answer is 4
in the cell B1, =SUMPRODUCT(ISNUMBER(A1:A5)*(A1:A5))
but, not working...

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 266
Default formula question

"tom taol" skrev i en meddelelse
...

A
1
a
2
1
w

in the case ,the following upper ...
i want to sum only number.

the answer is 4
in the cell B1, =SUMPRODUCT(ISNUMBER(A1:A5)*(A1:A5))
but, not working...


Hi tom

=SUM(A1:A5) will do, because the SUM() function skips
text values.

If all entries are text, you can use this array formula:

=SUM(IF(NOT(ISERROR(VALUE(A1:A5))),VALUE(A1:A5)))

To be entered with <Shift<Ctrl<Enter, also if
edited later.


--
Best regards
Leo Heuser

Followup to newsgroup only please.



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
Newbie Formula Question - how to get formula to repeat in each subsequent row? [email protected] New Users to Excel 2 January 10th 10 05:02 PM
If Formula question Steve_Dallas[_2_] Excel Worksheet Functions 1 October 3rd 07 06:48 AM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Formula Question Crawdaddy Excel Worksheet Functions 3 March 8th 06 09:34 PM
IF formula question Rubix Excel Worksheet Functions 3 January 8th 06 07:36 AM


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

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

About Us

"It's about Microsoft Excel"