Help with putting two formulas to one cell.

Essadona

New Member
Joined
Dec 13, 2018
Messages
1
I'm trying to create a budgeting plan and my husband has to transfer money to my account from his own to cover a bill that is pulled from my end.

If cells N5:N24 are added together based on whether cells K5:K24 are "K" or "J". I want to add or subtract a cell From N5:N24 based on my husband "J" transfer which is stated in cells M5:M24 how do I put this into my formula.

This is what I have so far to add two rows together for the total
Cell N26
=SUMIF(K5:K24, "K", N5:N24)
or
Cell O26
=SUMIF(K5:K24, "J", N5:N24)

This is what I'm trying to get
Cell N26
=SUMIF(K5:K24, "K", N5:N24)=IF(AND(K5:K24, "J", M5:M24, "Transfer", N5:N24)

Cell 026
=SUMIF(K5:K24, "J", N5:N24)=IF(AND(K5:K24, "K", M5:M24, "Transfer", N5:N24)
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Care to post a small sample along with the results which must obtain for that sample (without using/showing any formula)?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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