Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 91
Default empty cells in calculation

I have a large matrix which many of that cells are empty or blank,when i
subtract
empty cells from a reference value for example B1000= 5, empty cells act as
zero"0", resulting value = - 5, i don't want this. would you please help me.
best regards.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default empty cells in calculation

You could use the ABS function if you want the result to be positive,
or to avoid the calculation you can have something like:

=IF(A1="","",A1-B1)

Hope this helps.

Pete

On Dec 10, 8:28 am, climate wrote:
I have a large matrix which many of that cells are empty or blank,when i
subtract
empty cells from a reference value for example B1000= 5, empty cells act as
zero"0", resulting value = - 5, i don't want this. would you please help me.
best regards.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 91
Default empty cells in calculation

Hi pete
Thank's, it works correctly.
regards

"Pete_UK" wrote:

You could use the ABS function if you want the result to be positive,
or to avoid the calculation you can have something like:

=IF(A1="","",A1-B1)

Hope this helps.

Pete

On Dec 10, 8:28 am, climate wrote:
I have a large matrix which many of that cells are empty or blank,when i
subtract
empty cells from a reference value for example B1000= 5, empty cells act as
zero"0", resulting value = - 5, i don't want this. would you please help me.
best regards.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default empty cells in calculation

You're welcome - thanks for feeding back.

Pete

On Dec 10, 10:26 am, climate
wrote:
Hi pete
Thank's, it works correctly.
regards



"Pete_UK" wrote:
You could use the ABS function if you want the result to be positive,
or to avoid the calculation you can have something like:


=IF(A1="","",A1-B1)


Hope this helps.


Pete


On Dec 10, 8:28 am, climate wrote:
I have a large matrix which many of that cells are empty or blank,when i
subtract
empty cells from a reference value for example B1000= 5, empty cells act as
zero"0", resulting value = - 5, i don't want this. would you please help me.
best regards.- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 364
Default empty cells in calculation

"climate" wrote in message
...
I have a large matrix which many of that cells are empty or blank,when i
subtract
empty cells from a reference value for example B1000= 5, empty cells act
as
zero"0", resulting value = - 5, i don't want this. would you please help
me.
best regards.


I do not understand your question. If you subtract 0 from 5 you get 5,
not -5.
Are you (by any chance) subtracting the reference value from the total of
the cells?
If you're still having trouble understanding this, try the same thing with a
small matrix, say 2x2 or 3x3. State clearly what is in each cell, quote the
formula you are using, say what result you get and what you expect.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 91
Default empty cells in calculation

Suppose that a matrix (3 * 3) A1:C3, A1,B2, C3 are empty (blank),when i write
A1- 5 or B2-5 ,as a result A1= -5 and same as for B2 , C3. i want stay A1 B2
C3 empty cells after calculation.
Thank's

"Stephen" wrote:

"climate" wrote in message
...
I have a large matrix which many of that cells are empty or blank,when i
subtract
empty cells from a reference value for example B1000= 5, empty cells act
as
zero"0", resulting value = - 5, i don't want this. would you please help
me.
best regards.


I do not understand your question. If you subtract 0 from 5 you get 5,
not -5.
Are you (by any chance) subtracting the reference value from the total of
the cells?
If you're still having trouble understanding this, try the same thing with a
small matrix, say 2x2 or 3x3. State clearly what is in each cell, quote the
formula you are using, say what result you get and what you expect.



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
Using last cell in a column that is not empty in a calculation Leo V. Excel Worksheet Functions 0 February 24th 06 06:33 AM
Excel - Autom. Filter "Empty / Non Empty cells" should come first Rom Excel Discussion (Misc queries) 0 August 10th 05 04:32 PM
When I SUM cells & 1 is empty I need the result to be empty not 0 Maribel Excel Discussion (Misc queries) 1 August 2nd 05 12:49 AM
How can I convert empty strings to empty cells? Shane Excel Discussion (Misc queries) 2 July 19th 05 12:10 PM
Empty Cell calculation Elan Excel Worksheet Functions 2 April 12th 05 02:15 PM


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