Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 134
Default need to make a macro to sum the highest 3 values from 10 coluns

I need to make a macro thta select the 3 highest values from 10 coluns and
then sum up these values...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,081
Default need to make a macro to sum the highest 3 values from 10 coluns

You can use an array formula to do it, without resorting to a macro:

=SUM(LARGE(A1:J1000,{1,2,3}))

enter it by pressing Shift-Ctrl-Enter


"Antonio" wrote:

I need to make a macro thta select the 3 highest values from 10 coluns and
then sum up these values...

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default need to make a macro to sum the highest 3 values from 10 colun

Actually, you can enter it normally - it doesn't need to be entered as an
array formula.

--
Regards,
Tom Ogilvy


"Duke Carey" wrote:

You can use an array formula to do it, without resorting to a macro:

=SUM(LARGE(A1:J1000,{1,2,3}))

enter it by pressing Shift-Ctrl-Enter


"Antonio" wrote:

I need to make a macro thta select the 3 highest values from 10 coluns and
then sum up these values...

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
Top 3 highest values Gilbo Excel Discussion (Misc queries) 7 December 31st 09 10:20 AM
How do I get Excel to make highest #, 1 color, & lowest # another? E92er New Users to Excel 1 February 7th 08 12:37 AM
Construct Coluns via VBA scuba79 Excel Programming 4 August 26th 05 01:55 PM
3 highest values Bridge New Users to Excel 2 July 23rd 05 01:13 PM
Macro closes all coluns and not just the programmed ones, why? sonar[_8_] Excel Programming 4 May 2nd 04 04:21 PM


All times are GMT +1. The time now is 10:05 AM.

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"