Question regarding SUMIFS and value

jasonbrisson

New Member
Joined
Oct 17, 2012
Messages
3
Howdy all,

Quick background- I've got a large spreadsheet of Excel records that contain the sales amount, month sold, "Prime SKU Indicator" (not relevant what that means), the servicing location, and the qty sold for a list of items. All of these records are actually formulas that return a value based on some parameters in another sheet.

For example, instead of having the actual value of "August" or whatever appropriate month would be, what can be found in the month column is actually "=IF('RS6000 Report'!R2="","",TEXT('RS6000 Report'!R2,"mmmm"))". This statement will evaluate to a month (or a blank cell, depending on 'RS6000 Report'!R2) but in truth is actually a formula because I do not want to add value to this column.

Similar for the rest of the information contained in the records.

Now, here comes my challenge. I am trying to do a SUMIFS statement based on parameters for the sales amount, month sold, "Prime SKU Indicator", the servicing location, and the qty sold. For example: "=SUMIFS(R2:R100001,Q2:Q100001,"=1",P2:P100001,"=Filled",O2:O100001,"=Prime",N2:N10001,"=January")".

I am getting the "A value used in the formula is of the wrong data type" error from this formula, and my guess is because these parameters are formulas, rather than values, because when I add value to R, P, O, and N then this formula resolves fine.

Does anyone know a workaround I could apply so that I can use this SUMIFS formula without having to actually add value to my sales amount, month sold, etc. columns? I've Googled around and around on this one and I can't seem to find anyone that had my same issue.

Thanks in advance, Excel Heroes!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,215,452
Messages
6,124,916
Members
449,195
Latest member
Stevenciu

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