Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using last cell in a column that is not empty in a calculation | Excel Worksheet Functions | |||
Excel - Autom. Filter "Empty / Non Empty cells" should come first | Excel Discussion (Misc queries) | |||
When I SUM cells & 1 is empty I need the result to be empty not 0 | Excel Discussion (Misc queries) | |||
How can I convert empty strings to empty cells? | Excel Discussion (Misc queries) | |||
Empty Cell calculation | Excel Worksheet Functions |