How to Add cells from 2 sheets but with specific conditions

Claudio0136

New Member
Joined
Oct 16, 2011
Messages
2
I would like to know a formula where I can add cells Sheet1(B3)+Sheet2(B3), but only add the ones that have the month of "JAN" on Sheet1(A3) and Sheet2(A3), and ignores the deposits for other months…so that Sheet1(C4)=$50.00

-- removed inline image ---

Thanks in advance!

**Sheet1(A3)=FEB, Sheet1(B3)=$0.00...and
Sheet2(A3)=JAN, Sheet2(B3)=$50.00...
Sheet1(C4)=Total (Sheet1 & 2) January deposits

**I was trying to post with an image of what I am trying to do using paint but no luck.
 
Last edited:

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hello,

Welcome to the board!

I see you have only listed a few cells for reference, is there columns of data that this would need to be applied to?

If so list the ranges with details.

Also what version of Excel are you using?
 
Upvote 0
Jeff....Thank you for your reply!
It took me some time of trying all kinds of combinations and finally came up with what seems to be working.
=IF(A3="JAN",B3)+IF(Sheet2!A3="JAN",Sheet2!B3)

Have a great week!
 
Upvote 0

Forum statistics

Threads
1,226,454
Messages
6,191,139
Members
453,642
Latest member
jefals

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