Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default sum a row, but just the cells, where there is a number.

hi,

I want to calculate numbers in a row, but just, when there is a number in
the cell. if there is no number, don't count.

I tried:

=IF(H26:N26=1,((H26:N26-H9:N9)*H6:N6),"")

Problem:
the cells, which are blank or rather 0 are not missed out.

thx for every help.
ruth
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 430
Default sum a row, but just the cells, where there is a number.

Are you trying to count the number of cells that have numbers in them or are
you tyring to sum that row? (your title vs what is in the message is a bit
unclear.)

Try,
COUNTIF
If you are trying to count the number of cells that have numbers.



"??RUTH??" wrote:

hi,

I want to calculate numbers in a row, but just, when there is a number in
the cell. if there is no number, don't count.

I tried:

=IF(H26:N26=1,((H26:N26-H9:N9)*H6:N6),"")

Problem:
the cells, which are blank or rather 0 are not missed out.

thx for every help.
ruth

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 set a number number value as text in all cells ? Paul Peters Excel Worksheet Functions 0 August 11th 06 07:27 AM
Formula for counting number of cells Pawan Excel Discussion (Misc queries) 2 February 22nd 06 05:20 AM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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