Highest data with each column including Statmements

sksanjeev786

Well-known Member
Joined
Aug 5, 2020
Messages
996
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi Team,

I need the highest data from each column example shown in I to M.

book2
ABCDEFGHIJKLM
1Total PCMO Full year 2021 dataPremium DiscernersConvenience CraversEnvironmental Product PionnersHigh Performance Product EnthusiatsHispanicsOutput
2Provides the best engine protection453853668239Total PCMO Full year 2021 dataIt prolongs the life of my engine50
3Helps my car perform at its best474149746144Premium DiscernersHelps my car perform at its best41It prolongs the life of my engine41
4Is best for cars with high mileage31293533230Convenience CraversIt prolongs the life of my engine58
5It’s formulated for extreme (hot / cold) temperatures242528301223Environmental Product PionnersIt’s produced in an environmentally friendly way100
6It can be used in extreme driving conditions (e.g. high speed, heavy loads, etc.)20252119721High Performance Product EnthusiatsProvides the best engine protection82
7Uses the latest advanced technology/innovations222918423921HispanicsHelps my car perform at its best44
8It effectively cleans and removes the residues of the engine383545604132
9Allows my vehicle to go longer between oil changes37344545236
10Clear signs on pack that the oil is not counterfeit13171115-15
11Helps to pollute less while I am driving222416571222
12It’s produced in an environmentally friendly way212614100-22
13It keeps my engine quiet313230472329
14It prolongs the life of my engine504158716543
15It improves fuel efficiency444044695441
16Other416*-3
Sheet1



Thanks in advance:)
Regards,
Sanjeev
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
365 only. It's a lot easier by reordering the columns in the output - but it could be done just the way you had it.

MrExcelPlayground6.xlsx
ABCDEFGHIJKL
1Total PCMO Full year 2021 dataPremium DiscernersConvenience CraversEnvironmental Product PionnersHigh Performance Product EnthusiatsHispanicsOutput
2Provides the best engine protection453853668239Total PCMO Full year 2021 data50It prolongs the life of my engine
3Helps my car perform at its best474149746144Premium Discerners41Helps my car perform at its bestIt prolongs the life of my engine
4Is best for cars with high mileage31293533230Convenience Cravers58It prolongs the life of my engine
5It’s formulated for extreme (hot / cold) temperatures242528301223Environmental Product Pionners100It’s produced in an environmentally friendly way
6It can be used in extreme driving conditions (e.g. high speed, heavy loads, etc.)20252119721High Performance Product Enthusiats82Provides the best engine protection
7Uses the latest advanced technology/innovations222918423921Hispanics44Helps my car perform at its best
8It effectively cleans and removes the residues of the engine383545604132
9Allows my vehicle to go longer between oil changes37344545236
10Clear signs on pack that the oil is not counterfeit13171115-15
11Helps to pollute less while I am driving222416571222
12It’s produced in an environmentally friendly way212614100-22
13It keeps my engine quiet313230472329
14It prolongs the life of my engine504158716543
15It improves fuel efficiency444044695441
16Other416*-3
Sheet26
Cell Formulas
RangeFormula
J2J2=MAX(B2:B16)
K2K2=TRANSPOSE(FILTER($A$2:$A$16,$B$2:$B$16=J2))
J3J3=MAX(C2:C16)
K3:L3K3=TRANSPOSE(FILTER($A$2:$A$16,$C$2:$C$16=J3))
J4J4=MAX(D2:D16)
K4K4=TRANSPOSE(FILTER($A$2:$A$16,$D$2:$D$16=J4))
J5J5=MAX(E2:E16)
K5K5=TRANSPOSE(FILTER($A$2:$A$16,$E$2:$E$16=J5))
J6J6=MAX(F2:F16)
K6K6=TRANSPOSE(FILTER($A$2:$A$16,$F$2:$F$16=J6))
J7J7=MAX(G2:G16)
K7K7=TRANSPOSE(FILTER($A$2:$A$16,$G$2:$G$16=J7))
Dynamic array formulas.
 
Upvote 0
365 only. It's a lot easier by reordering the columns in the output - but it could be done just the way you had it.

MrExcelPlayground6.xlsx
ABCDEFGHIJKL
1Total PCMO Full year 2021 dataPremium DiscernersConvenience CraversEnvironmental Product PionnersHigh Performance Product EnthusiatsHispanicsOutput
2Provides the best engine protection453853668239Total PCMO Full year 2021 data50It prolongs the life of my engine
3Helps my car perform at its best474149746144Premium Discerners41Helps my car perform at its bestIt prolongs the life of my engine
4Is best for cars with high mileage31293533230Convenience Cravers58It prolongs the life of my engine
5It’s formulated for extreme (hot / cold) temperatures242528301223Environmental Product Pionners100It’s produced in an environmentally friendly way
6It can be used in extreme driving conditions (e.g. high speed, heavy loads, etc.)20252119721High Performance Product Enthusiats82Provides the best engine protection
7Uses the latest advanced technology/innovations222918423921Hispanics44Helps my car perform at its best
8It effectively cleans and removes the residues of the engine383545604132
9Allows my vehicle to go longer between oil changes37344545236
10Clear signs on pack that the oil is not counterfeit13171115-15
11Helps to pollute less while I am driving222416571222
12It’s produced in an environmentally friendly way212614100-22
13It keeps my engine quiet313230472329
14It prolongs the life of my engine504158716543
15It improves fuel efficiency444044695441
16Other416*-3
Sheet26
Cell Formulas
RangeFormula
J2J2=MAX(B2:B16)
K2K2=TRANSPOSE(FILTER($A$2:$A$16,$B$2:$B$16=J2))
J3J3=MAX(C2:C16)
K3:L3K3=TRANSPOSE(FILTER($A$2:$A$16,$C$2:$C$16=J3))
J4J4=MAX(D2:D16)
K4K4=TRANSPOSE(FILTER($A$2:$A$16,$D$2:$D$16=J4))
J5J5=MAX(E2:E16)
K5K5=TRANSPOSE(FILTER($A$2:$A$16,$E$2:$E$16=J5))
J6J6=MAX(F2:F16)
K6K6=TRANSPOSE(FILTER($A$2:$A$16,$F$2:$F$16=J6))
J7J7=MAX(G2:G16)
K7K7=TRANSPOSE(FILTER($A$2:$A$16,$G$2:$G$16=J7))
Dynamic array formulas.

Waw!!!!

Thank you so much!!!!:)
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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