How can i create an Excel SUMIF formula in ArcGIS Pro?

178
4
3 weeks ago
Labels (2)
RohanSadhai
Emerging Contributor

I have a table with repeated ID numbers and a different cost for each ID number. How could I get the total cost for an ID number? I can accomplish this in Excel using a SUMIF formula, but was wondering if this can be done in ArcGIS Pro directly? For example, see table below.

ABCD
IDCostTotal Cost by IDExcel "SUMIF" formula
1$11,040.00$11,040.00SUMIF(A:A,A2,B:B)
3.5$39,140.00$1,232,015.00SUMIF(A:A,A3,B:B)
3.5$160,286.00$1,232,015.00SUMIF(A:A,A4,B:B)
3.5$97,440.00$1,232,015.00SUMIF(A:A,A5,B:B)
3.5$85,260.00$1,232,015.00SUMIF(A:A,A6,B:B)
3.5$849,889.00$1,232,015.00SUMIF(A:A,A7,B:B)
0 Kudos
4 Replies
DanPatterson
MVP Esteemed Contributor

Perhaps you could start with 

Pivot Table (Data Management)—ArcGIS Pro | Documentation


... sort of retired...
RohanSadhai
Emerging Contributor

Thanks Dan, I will review the article.

0 Kudos
KenBuja
MVP Esteemed Contributor

You can use Arcade's GroupBy function to get a FeatureSet containing the sum of each of the IDs

DavidSolari
MVP Regular Contributor

Summary Statistics is yet another tool that can calculate the aggregated sums.