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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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