Last active
November 26, 2016 06:12
-
-
Save chandlerroth/e17bdd066a81bc4dcf3f6aee753fb457 to your computer and use it in GitHub Desktop.
savings-bucket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
totalCash = 40,000 | |
allocatedMoney = 0 = SUM(INDIRECT(ADDRESS(1,COLUMN())&":"&ADDRESS(ROW()−1,COLUMN())) | |
goalAmount[0] = 10,000 | |
goalAmount[1] = 2,000 | |
goalAmount[2] = 5,000 | |
if (goalAmount[1] <= (totalCash - allocatedMoney)) { | |
goalAmount[1] | |
} else { | |
totalCash - allocatedMoney | |
} | |
IF( | |
Goal Emergency Fund ≤ (Table 2::$B$2 − SUM(INDIRECT(ADDRESS(1,COLUMN())&":"&ADDRESS(ROW()−1,COLUMN()))), | |
Goal Emergency Fund, | |
(Table 2::$B$2 − SUM(INDIRECT(ADDRESS(1,COLUMN())&":"&ADDRESS(ROW()−1,COLUMN()))) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment