Formula to select Highest Number or VBA to select last cell from filter.

VBA learner ITG

Active Member
Joined
Apr 18, 2017
Messages
272
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Good morning my peers,

I was wondering if you could advise if there is a formula or VBA code that can be used for my issue.

I have a database that once is filtered i would like to select the largest number in the filtered data of column G and populate cell a1.

Is that possible by formula or VBA code?
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
You give too little information for what you ask.
Please be more direct and then someone may be able to advise.
 
Upvote 0
found a solution to my issue by a formula.

Took me a week of searching on the internet and after 5 mins of posting on here got a solution (typical)

I HOPE THIS HELPS ANYONE READING MY POST AND ANYONE ELSE IN THE SAME POSITION.

Min value in range =
  • =SUBTOTAL(5,C2:C10)

Max value in range =

  • =SUBTOTAL(4,C2:C10)
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,274
Members
452,628
Latest member
dd2

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