Dynamic Consolidate Error

rcb007

Board Regular
Joined
Nov 12, 2020
Messages
90
Office Version
  1. 365
Platform
  1. Windows
In the Cell O9 and Q9, it shows a #Value! I am having a hard time trying to figure out if it's something in the pervious column that is causing the error or not.

Thank you.



170240000-Storm Calculations.xlsm
KLMNOPQ
1name - typeareacConsolidatedareac
2585 - Roof907.510.302986467.090.90
3585 - Pavement119.740.305009576.600.85
4298 - Pavement6198.460.9050127735.090.60
5632 - Pavement6055.310.905374600.780.85
6632 - Grass1196.090.905851027.250.30
7537 - Pavement2993.440.8560121123.280.85
8632 - Roof1058.000.856328309.400.88
9601 - Pavement18195.570.85#VALUE!0.00#DIV/0!
10601 - Grass1899.090.85
11500 - Grass8191.780.85
12501 - Pavement18457.330.30
13501 - Grass9277.750.90
14601 - Roof1028.620.85
15500 - Pavement1384.820.85
16537 - Grass664.330.85
17537 - Roof943.000.85
18298 - Grass268.630.90
Imported Parcels
Cell Formulas
RangeFormula
K2:K18K2=UNIQUE(FILTER(I2:I1002,I2:I1002<>""))
L2:L18L2=SUMIFS(C:C,I:I,K2#)
M2:M18M2=AVERAGEIFS(G2:G1002,K2:K1002,K2#&"*")
O2:O9O2=SORT(UNIQUE(LEFT(K2:K1002,FIND(" ",K2:K1002)-1)))
P2:P9P2=SUMIFS(L2:L1002,K2:K1002,O2#&"*")
Q2:Q9Q2=AVERAGEIFS(M2:M1002,K2:K1002,O2#&"*")
Dynamic array formulas.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
I would guess that some of the values in K2:K1002 don't have a 'space' in it, throwing a number of #VALUE! errors. Then the UNIQUE turns it into one. Put it in an error handling bit,
 
Upvote 0
For O2 use
Excel Formula:
=SORT(UNIQUE(LEFT(K2#,FIND(" ",K2#)-1)))
 
Upvote 0
in K2:K1002 you have a blank cell or a cell that does not contain a space
 
Upvote 0
I did think about if there was a space within the value which would cause the error.

Fluff. again, you make it simple. I did not think of that as well.

You fixed it! Thank you!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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