PIVOTBY

datastudent

Board Regular
Joined
Sep 7, 2021
Messages
89
Office Version
  1. 365
Platform
  1. Windows
Hi,

I want to summarize my data using the PIVOTBY formula.

My data is formatted the way it shows in table 1 and I want to summarize it like in table 2.

Template_v1.xlsm
HIJKLMNOP
1CountryTypeDIDMRCCountryTypeDIDMRC
2ARGENTINAGeographic02.91ARGENTINAGeographic02.91
3ARGENTINAGeographic02.91ARGENTINANational03.91
4ARGENTINANational03.91AUSTRALIAGeographic1.052.04
5AUSTRALIANational01.04AUSTRALIANational01.04
6AUSTRALIAGeographic01.04
7AUSTRALIAGeographic1.051.04
8AUSTRALIAGeographic02.04
VoxDID
 
You wouldn't use pivotby for that, but groupby
Excel Formula:
=GROUPBY(H2:I8,J2:K8,MAX,0,0)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,226,796
Messages
6,193,048
Members
453,772
Latest member
aastupin

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