Can a row change based on what is in a cell like this?

c.clavin

Board Regular
Joined
Mar 22, 2011
Messages
123
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi guys, weird issue I don't know is possible or not. I have 5 rows in my sheet, the first 4 are constants; SUBTOTAL, TAX, TOTAL, DEPOSIT. If I add a second deposit I need the 5th row to show deposit and the amount of the deposit next to it. If there is no second deposit, I need the 5th row to show only the balance of the first 4 rows, and so on for the next few rows. Ideally I would like the first column to go from blank if nothing is mentioned, DEPOSIT if there is another deposit, or BALANCE if there's deposits above it.

Book1
ABCDE
1If 'B7' does not contain numberIf 'B7' contains number
2
3SUBTOTAL$49,999.00SUBTOTAL$49,999.00
4TAX$4,312.41TAX$4,312.41
5TOTAL$54,311.41TOTAL$54,311.41
6DEPOSIT$15,000.00DEPOSIT$15,000.00
7BALANCE$39,311.41DEPOSIT$15,000.00
8BALANCE$24,311.41
Sheet1
Cell Formulas
RangeFormula
B4,E4B4=B3*0.08625
B5,E5B5=B3+B4
A6,D6A6=IF(B6="","","DEPOSIT")
B7B7=B5-B6
E8E8=E5-E6-E7
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,214,923
Messages
6,122,286
Members
449,076
Latest member
kenyanscott

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