sumproduct questions

Kmitchell

Active Member
Joined
Feb 27, 2007
Messages
361
Office Version
  1. 365
Platform
  1. Windows
I have a very large file that when you select the month and department all of the data in the table changes based on that criteria. And the sumproduct formula shown below no longer works because it only worked for the first department (1 out of 15). How could I make this formula work to say if(month & if(department, then sumproduct """"?

The formula used to work because it only had to sum up the column that was between two dates. Now I have a file with 4575 rows that concatenate the date, department and subdepartment. Can excel figure out all of this information in one formula or do I need a work around?

SUMPRODUCT(--('AAM Detail'!$B$4:$B$39>='AAM Payor Mix Dashboard'!$G$4),--('AAM Detail'!$B$4:$B$39<='AAM Payor Mix Dashboard'!$D$5),'AAM Detail'!$B$4:$B$39)
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
sorry for the off the cufff suggestion

you convert the concatenated data into "text to columns " and work on it.
If you have already tried this ignore this message
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,003
Members
448,935
Latest member
ijat

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