Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Finding the largest value

Hi Kamal,

Thanks for helping hand. I tested with your macro for 12000 rows. It
took about 9 mins. For the whole 50000 rows, this iteration will take
more than 30 mins. Already we in our existing process are using about
2 hours to create these 50,000 rows. This new solution would add 30
more mins. If we find a solution to reduce the CPU time to 15 mins, I
can use that solution. Again thanks for your help.


PMFJI, but you can do it in the worksheet instead of VBA:

250 columns is A:IP, so the following function in IQ1 would give the
figure you want:

=MAX(A1:IL1+B1:IM1+C1:IN1+D1:IO1+E1:IP1)/5

when array-entered (using shift+ctrl+enter)

So type that in IQ1 and copy it down the rest of the rows.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.BMSLtd.co.uk


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the largest match XJSquared Excel Worksheet Functions 9 July 19th 09 05:45 PM
finding the largest number from the last row and look up its name. Jeff Excel Worksheet Functions 5 February 24th 05 10:40 PM
Help with finding largest value paula Excel Worksheet Functions 2 February 6th 05 10:51 PM
Finding and Showing the Largest arjcvg Excel Worksheet Functions 1 October 29th 04 05:11 AM
Finding and Showing the Largest arjcvg Excel Worksheet Functions 2 October 29th 04 03:01 AM


All times are GMT +1. The time now is 01:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"