Multiple conditions

Muthukrishnan V

Active Member
Joined
May 29, 2008
Messages
280
Office Version
  1. 365
Platform
  1. Windows
Thank you for resolving my request.
Excel 2007.
Now alternatively, I want to improve the SAME database
with helper cells.
Col C5:C84 contain dates dd-mm-yyyy
Col D5:D84 contain amount in numerical
Col E5:E84 contain dates dd-mm-yyyy
Additions:
In addition to my database in C5:E84 as above, I have added
input in Col G5:G84. G5:G84 contain text either "current" "old" and
some cells blank.
H 101 (helper cell) contains date less than H102 in dd-mm-yyyy (one of the dates in C5:C84);
H 102 (helper cell) contains date greater than H101 in dd-mm-yyyy (one of the dates in C5:C84).
H103 (helper cell) contains a text "Current" (one of the text from G5:G84)
Based on the values in helper cells H 101 to H 103, i want sumproduct of D5:D84.
Kindly help.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Your description is a little vague

Try

SUMPRODUCT((G5:G84=H103)*(C5:C84>=H101)*(C5:C84<=H102)*(D5:D84))

If it doesnt work swap the < > signs around in the formula.
 
Upvote 0

Forum statistics

Threads
1,215,098
Messages
6,123,082
Members
449,094
Latest member
mystic19

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