How do I make one cell always equal to a specific number while still taking into account of other cells.

L

Legacy 463361

Guest
I need a formula which allows the 'Money Leftover' cell K7 to always equal 500. I've probably worded the above really vaguely, however I'll add an image to try and get explain myself.

Capture.PNG


What I need:

As I start to add in values under columns C-I, the values in K will either go up or down depending on if I spend money or earn it. If by the end of the month K7 is above £500, then I want the excess money to be transferred to L7. However, if K7 is below £500 then I want the value in H7 to adjust accordingly to get the value of K7 back to £500, which should result in an increase of H7 and the decrease in L7. The limit to which H7 + L7 can add up to is £1329.35 (B10), so when both of these cells are added together they cannot exceed B10.

Essentially, as H7 increases, L7 decreases, and vice versa, but K7 must always equal £500 while still taking into account the values in columns C-I. For example, money spent on 'Food' and 'Nights Out' will see a decrease in K7, meaning H7 must now increase as a result to bring the value of K7 back to £500.

I've very much complicated myself writing this out however I'm sure there is a way of doing it, I'm just not adept at Excel enough. I could just manually change the values at the end of each month, however it makes my life easier if I can simply put in values and the whole spreadsheet adjusts accordingly.

If you need any further information, please let me know.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Because most people find it easier to control their miscellaneous spending than they can control their income.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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