ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Do not sum until cell has a value (https://www.excelbanter.com/excel-worksheet-functions/243130-do-not-sum-until-cell-has-value.html)

Todd Fleming

Do not sum until cell has a value
 
This has go to be easy but I can seem to find any help on it.

I have a value in cell A, a blank in cell B (to be filled later with a
less than or equal to value of cell A), and a subtraction formula of
cell B from cell A in cell C.

I would like the cell C to show nothing until a value is put in cell B.

David Biddulph[_2_]

Do not sum until cell has a value
 
=IF(B1="","",A1-B1)
--
David Biddulph

"Todd Fleming" wrote in message
...
This has go to be easy but I can seem to find any help on it.

I have a value in cell A, a blank in cell B (to be filled later with a
less than or equal to value of cell A), and a subtraction formula of
cell B from cell A in cell C.

I would like the cell C to show nothing until a value is put in cell B.




T. Valko

Do not sum until cell has a value
 
One way...

=IF(COUNT(A1:B1)<2,"",B1-A1)

--
Biff
Microsoft Excel MVP


"Todd Fleming" wrote in message
...
This has go to be easy but I can seem to find any help on it.

I have a value in cell A, a blank in cell B (to be filled later with a
less than or equal to value of cell A), and a subtraction formula of
cell B from cell A in cell C.

I would like the cell C to show nothing until a value is put in cell B.




MSJ

Do not sum until cell has a value
 
On Sep 18, 2:13*pm, Todd Fleming wrote:
This has go to be easy but I can seem to find any help on it.

I have a value in cell A, a blank in cell B (to be filled later with a
less than or equal to value of cell A), and a subtraction formula of
cell B from cell A in cell C.

I would like the cell C to show nothing until a value is put in cell B.



I believe this is what you are looking for.


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

Todd Fleming

Do not sum until cell has a value
 
On Sep 18, 2:20*pm, MSJ wrote:
On Sep 18, 2:13*pm, Todd Fleming wrote:

This has go to be easy but I can seem to find any help on it.


I have a value in cell A, a blank in cell B (to be filled later with a
less than or equal to value of cell A), and a subtraction formula of
cell B from cell A in cell C.


I would like the cell C to show nothing until a value is put in cell B.


I believe this is what you are looking for.

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


Ahh. I knew there were probably more than one answer. Thank you.


All times are GMT +1. The time now is 07:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com