Formula to split total amount from one cell between two other cells based on the value in another cell.

Detectiveclem

Active Member
Joined
May 31, 2014
Messages
320
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
I am trying to find a formula which will allow the following

In cell M7 I have a sumif total based on data entered from an associated range.

The figure in M7 will increase as entries are made on the associated range.

Using the total amount in M7 I want this amount to be split into two separate cells based upon the value in another cell as follows.

M17 based on a value less than held in cell N38 and

M18
based on the value more than in cell N39.



I.E.


If M7 = £45,000 and N38 = £50,000 then M17 will display £45,000 and M18 will display £0

but if M7= £95,555 and N38 still = £50,000 then M17 will display £50,000 and M18 will display the remaining balance of £45,555



Any help would be greatly appreciated.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Try

Book2
LMNO
4
5
6
745000
8
9
10
11
12
13
14
15
16
1745000
185000
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
3850000
39
40
Sheet1
Cell Formulas
RangeFormula
M17M17=MIN(M7,N38)
M18M18=MAX(N38,M7)-MIN(N38,M7)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,429
Messages
6,124,834
Members
449,192
Latest member
mcgeeaudrey

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