Compare and Rank Rows

Utradeshow

Well-known Member
Joined
Apr 26, 2004
Messages
807
Office Version
  1. 365
Hi Guy's,

I have this sheet that has hundreds if shipments. I am trying to summarize the data and find out how many of shipments went from the same origin and to the same destination and then rank them. What would be the best way to do this?

Find Air Freight Volume by Location Query.xlsx
ABCDEFGHIJKLMNOPQR
2114222################671788448061Adairsville30103448062Forest Park30297
31166091/3/20241/8/2024676629460583Adairsville30103460584Forest Park30297
41166101/3/2024########676641460618Adairsville30103460619Forest Park30297
51166112/1/20242/9/2024678083464143Adairsville30103464144Forest Park30297
6118756########2/1/2024677926463753Adairsville30103463754Forest Park30297
71144333/7/2024########679667468286ADDISON60101468287Des Plaines60018
8119949################679011466532ADDISON60101466533Des Plaines60018
9103773########5/4/2023665316431560Addison75001431561Grapevine76051
10106620################666023433374ADDISON75001433375Irving75063
11111426########9/1/2023670497444767ADDISON60101444768Logan84321
12124759################685413483476Addison60101483477MANHATTAN BEACH90266
13921792/8/2023########661044420764AIEA96701420765Honolulu96819
Sheet3
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Which column indicates the origin?
Which column indicates the destination?
Rank them based on what?
 
Upvote 0
With the new GROUPBY function:
Book1
ABCDEFGHIJKLMNOPQR
1OriginDestinationOriginMatch Count
211422245196.4166745198671788448061Forest Park30103448062Forest Park30297Forest Park5
311660945294.4166745299.85417676629460583Forest Park30103460584Forest Park30297ADDISON2
411661045294.4166745306.85417676641460618Forest Park30103460619Forest Park30297AIEA0
51166114532345331.85417678083464143Forest Park30103464144Forest Park30297Total7
611875645320.4166745323677926463753Forest Park30103463754Forest Park30297
71144334535845363679667468286ADDISON60101468287Des Plaines60018
81199494534445348679011466532ADDISON60101466533Des Plaines60018
91037734504145050665316431560Addison75001431561Addison76051
101066204506145068666023433374ADDISON75001433375ADDISON75063
111114264516945170670497444767ADDISON60101444768Logan84321
1212475945464.37545468.41667685413483476Addison60101483477MANHATTAN BEACH90266
13921794496544974661044420764AIEA96701420765Honolulu96819
Sheet3
Cell Formulas
RangeFormula
Q2:R5Q2=GROUPBY(J2:J13,--(J2:J13=N2:N13),SUM,0,1,-2)
Dynamic array formulas.
 
Upvote 0
Solution

Forum statistics

Threads
1,224,885
Messages
6,181,579
Members
453,055
Latest member
cope7895

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