Sum formula help

erniepoe

Active Member
Joined
Oct 23, 2006
Messages
380
Office Version
  1. 365
Platform
  1. Windows
Hi all,

So I'm trying to add the values of columns N and U when both columns O and V have a date value from July, 2011.


I have the following CSE formula, but it's still resulting in the #Value error. I think that I'm close, but if anyone could nudge me in the correct direction, I'd be most appreciative.



=SUM((O1:O81>=7/1/11)*(O1:O81<7/31/11)*(V1:V81>=7/1/11)*(V1:V81<7/31/11)*(N1:N81)*(U1:U81))
 
Do you want it to sum BOTH N and U if Either O or V are in July?
Or do you want it to sum (N if O is in July) + (U if V is in July)?
 
Last edited:
Upvote 0

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
If you want
sum BOTH N and U if Either O or V are in July?
Code:
=SUMPRODUCT(((TEXT(O1:O81,"mmmyyyy")="Jul2011")+(TEXT(V1:V81,"mmmyyyy")="Jul2011")>0)*(N1:N81+U1:U81))

If you want
sum (N if O is in July) + (U if V is in July)?
Code:
=SUMPRODUCT(((TEXT(O1:O81,"mmmyyyy")="Jul2011")*(N1:N81))+((TEXT(V1:V81,"mmmyyyy")="Jul2011")*(U1:U81)))
 
Upvote 0

Forum statistics

Threads
1,224,548
Messages
6,179,445
Members
452,915
Latest member
hannnahheileen

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