sumproduct questions

Kmitchell

Active Member
Joined
Feb 27, 2007
Messages
353
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

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

venkat1926

Well-known Member
Joined
Aug 21, 2005
Messages
4,824
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,191,369
Messages
5,986,259
Members
440,015
Latest member
knijgh

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
Top