Don't show total until second number entered

CandB

New Member
Joined
Aug 22, 2018
Messages
3
Hi, I have 3 columns, Amount A, Amount B and Total.
A is a formula pulling a dollar amount from another cell
B is an amount entered manually
Total is the total of those two, Total is =MAX formula (so I don't see an amount less than 0)


Question; How do I get the "Total" column to show blank until a figure is entered into B?


Amount A Amount B Total
$ 2,470.00 $ 1,150.00 $ 1,320.00
$ 2,470.00 $ 2,470.00
$ 2,470.00 $ 2,470.00
$ 2,470.00 $ 2,470.00
$ 2,470.00 $ 2,470.00

<colgroup><col _mce_style="mso-width-source: userset; mso-width-alt: 3437; width: 71pt;"><col _mce_style="mso-width-source: userset; mso-width-alt: 3547; width: 73pt;"><col _mce_style="mso-width-source: userset; mso-width-alt: 4681; width: 96pt;"></colgroup><tbody>
</tbody>
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Here's one way:


Excel 2010
BCD
2Amount AAmount BTotal
3$2,470.00$1,150.00$1,320.00
4$2,470.00 
5$2,470.00 
6$2,470.00 
7$2,470.00 
Sheet1
Cell Formulas
RangeFormula
D3=IF(NOT(ISBLANK(C3)),B3-C3,"")
D4=IF(NOT(ISBLANK(C4)),B4-C4,"")
D5=IF(NOT(ISBLANK(C5)),B5-C5,"")
D6=IF(NOT(ISBLANK(C6)),B6-C6,"")
D7=IF(NOT(ISBLANK(C7)),B7-C7,"")
 
Last edited:
Upvote 0
Thanks for that, I should have explained initially, the formula is based on A - B = Total. The Total could be a negative amount, but I don't want the negative to show. That's why I had the following in D3; =MAX(0,B3-C3).

Is there any way to combine the IF and MAX formula?
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,549
Members
449,089
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top