How to Get Data of a row based on the maximum value of a cell in that row?

harikrishna

New Member
Joined
Aug 19, 2011
Messages
38
Hello All,
I have spread sheet with the data till 2000 rows, with 4 columns of data. The headers are like "App Name", "Ram Usage", "Category" & "Total Space allotted"
Column "App Name" will contain names of Different apps might be repeating.
Column "Ram Usage" contains the values of how much currently it using E.g (5%,6%,10% etc...)
Columns "Category contains" names of different Categories like "Food", "Auto", General" etc..
Column "Total Space allotted" will contain values like (10,20,30,etc...)

Please refer to the below table with the data.. From the below data even though "Application Name" is repeating multiple times--
I should have formula in Cell "G3" which shows me only the "Apple" application which is using the maximum RAM usage.
Similarly in cell "G6" should give only the "Car" application which is using the maximum RAM usage.
And in cell "G7" should give only the "Service" application which is using the maximum RAM usage.

Please provide me solution by excel formula or by a macro also is great.

If it is a Macro pls provide me code for copying the whole data in that row which meets the above criteria.

Application

<colgroup><col width="78"></colgroup><tbody>
</tbody>
Ram Usage

<colgroup><col width="74"></colgroup><tbody>
</tbody>
Category

<colgroup><col width="62"></colgroup><tbody>
</tbody>
Total Ram Allocated

<colgroup><col width="132"></colgroup><tbody>
</tbody>
Apple

<colgroup><col width="78"></colgroup><tbody>
</tbody>
6%
Food
10%
Car

<colgroup><col width="78"></colgroup><tbody>
</tbody>
3%
Auto
10%
Apple

<colgroup><col width="78"></colgroup><tbody>
</tbody>
5%
Food
10%
Car

<colgroup><col width="78"></colgroup><tbody>
</tbody>
6%
Auto
10%
Apple

<colgroup><col width="78"></colgroup><tbody>
</tbody>
10%
Food
10%
Car

<colgroup><col width="78"></colgroup><tbody>
</tbody>
4%
Auto
10%
Apple

<colgroup><col width="78"></colgroup><tbody>
</tbody>
3%
Food
10%
Car

<colgroup><col width="78"></colgroup><tbody>
</tbody>
5%
Auto
10%
Service

<colgroup><col width="78"></colgroup><tbody>
</tbody>
7%
General
10%
Car

<colgroup><col width="78"></colgroup><tbody>
</tbody>
8%
Auto
10%
Service

<colgroup><col width="78"></colgroup><tbody>
</tbody>
3%
General
10%

<tbody>
</tbody>
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hello Sir, Thank you for looking in to my problem.

And the link you have provided is giving Max temp of all the dates, but I need the Max temp on each day. Even if it is possible with macro , i love to use that.

Regards
Hary
 
Upvote 0
You have no dates in your example. How can we help if you don't provide full information in your request and example. Suggest you amend your request and show us an example that is representative of your actual file.
 
Upvote 0

Forum statistics

Threads
1,214,869
Messages
6,122,012
Members
449,060
Latest member
LinusJE

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