Dynamic Range names & sumifs error

nikegeo

Board Regular
Joined
Jul 23, 2010
Messages
52
I'm having a hard time getting the sumifs working with my dynamic range names ive created.

Here are the named ranges and formulas:
CLMarket- =OFFSET('Global Performance Highlights'!$F$44,0,0,COUNTA('Global Performance Highlights'!$F:$F)-1)
CLOffice- =OFFSET('Global Performance Highlights'!$G$44,0,0,COUNTA('Global Performance Highlights'!$G:$G)-1)
CLRevenue- =OFFSET('Global Performance Highlights'!$K$44,0,0,COUNTA('Global Performance Highlights'!$K:$K)-1)

I am referencing k44 because thats the table that hold my data and any additions i make to it id like the formula to automatically calculate.

My sumifs formula is as follows: =SUMIFS(CLRevenue,CLOffice,B2,CLMarket,A2)

So im trying to sum revenue if based on office and market

i keep getting a #value. Not sure what im doing wrong. Any help would be great.
 
Thank you Mike. Your solution also helped me with an identical problem with rows of data coming in from an Access query.
 
Last edited:
Upvote 0

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I have a combination of columns of text and numbers and then calculations based on various conditions. And the data will only grow which is why I have spent hours searching for a solution. :)

I don't think that each field is numeric as well as text. Post $3 picks out a numeric field which must be the most complete (a key field in Access whose data type is AutoNumber fullfills this requirement) and constructs the dynamic ranges. If there is no numeric field, a text field that is most complete will also do: just replace 9.99999999999999E+307 with REPT("z",255). The set up in post #3 does not flounder on empty cells as COUNTA does and MATCH is faster than COUNTA. As a side note, even if there were no fields which are only numeric or text, the set up can be modified to accommodate.
 
Upvote 0

Forum statistics

Threads
1,224,514
Messages
6,179,223
Members
452,896
Latest member
IGT

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