Combining formulas

Luigi802

Board Regular
Joined
Oct 16, 2014
Messages
80
In Cell B4 " 29 Jul 2016 "
In Cell A5 " {=SUM(IF(Table1[Due Date] >=$B$4,SUMIF(Table1[Due Date],">="&$B$4,Table1[Payment]),0),B5)} "
In Cell B5 " {=IF(Table1[Due Date] <=DATE(YEAR(B4),MONTH(B4),DAY(B4+14)),SUMIF(Table1[Due Date],"<="&DATE(YEAR(B4),MONTH(B4),DAY(B4+14)),Table1[Payment]),0)} "

The DATA in the table is kinda irrelevant I believe, if not I could explain what they are
I know that's a lot to process, but I'm trying to combine Cells B5 and A5 not sue how to do that because of the {} not sure what's it's called when you type a formula and hit "CTRL SHIFT ENTER" it puts the whole formula in {} and allows you to enter certain formulas that you normally can't

I really hop I'm explaining myself adequately enough lol
 
Last edited:

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Have you tried just replacing the "B5" part from A5 with B5's formula... like below input with Ctrl Shift Enter...

So in A5:

=SUM(IF(Table1[Due Date] >=$B$4,SUMIF(Table1[Due Date],">="&$B$4,Table1[Payment]),0),
IF(Table1[Due Date] <=DATE(YEAR(B4),MONTH(B4),DAY(B4+14)),SUMIF(Table1[Due Date],"<="&DATE(YEAR(B4),MONTH(B4),DAY(B4+14)),Table1[Payment]),0))

CONTROL + SHIFT + ENTER
 
Upvote 0
Yes I tried that, but ended up with a number about 4X's the number I get with the formulas separate
 
Upvote 0

Forum statistics

Threads
1,216,127
Messages
6,129,024
Members
449,482
Latest member
al mugheen

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