Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 46
Default Obtaining min and max

What are the codes to obtain the min and the max in a rage say
Range("B4:B8")? Any help would be appreciated,

Tganks,


Ed
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Obtaining min and max

=min(B4:B8)
=max(B4:B8)


"Ed" schreef in bericht
...
What are the codes to obtain the min and the max in a rage say
Range("B4:B8")? Any help would be appreciated,

Tganks,


Ed



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Obtaining min and max


=WORKSHEETFUNCTION.MIN(RANGE("B4:B8"))
=WORKSHEETFUNCTION.MAX(RANGE("B4:B8"))

Ed Wrote:
What are the codes to obtain the min and the max in a rage say
Range("B4:B8")? Any help would be appreciated,

Tganks,


E


--
Excelenato

-----------------------------------------------------------------------
Excelenator's Profile: http://www.excelforum.com/member.php...fo&userid=3676
View this thread: http://www.excelforum.com/showthread.php?threadid=56788

  #4   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 46
Default Obtaining min and max

When I tried to assign the min of a range in a macro to the variable l
using:

l = Min("D4:D7")

I get the message:

Compile error
Sub or function not defined


How can I get it to work?

Thanks

Ed



I used the code l = Min("D4:D7") in a macro to assign the min of a
range




On Thu, 3 Aug 2006 15:51:12 +0200, "moon"
wrote:

=min(B4:B8)
=max(B4:B8)


"Ed" schreef in bericht
.. .
What are the codes to obtain the min and the max in a rage say
Range("B4:B8")? Any help would be appreciated,

Tganks,


Ed


  #5   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 46
Default Obtaining min and max

Thanks to all. Still having difficulty. Posting new message



On Thu, 03 Aug 2006 08:43:10 -0500, Ed wrote:

What are the codes to obtain the min and the max in a rage say
Range("B4:B8")? Any help would be appreciated,

Tganks,


Ed

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
Obtaining just the Year out of the date Learning Excel Excel Discussion (Misc queries) 4 May 25th 08 07:09 PM
obtaining formulas and help w formula marysea Excel Discussion (Misc queries) 1 May 20th 07 03:22 PM
Obtaining Checkbox Name RjS, CISSP Excel Programming 5 November 27th 05 12:32 AM
Obtaining OS language Max Potters Excel Programming 3 December 31st 04 01:56 PM
obtaining the name of a button jmoffat[_4_] Excel Programming 2 December 2nd 03 02:57 PM


All times are GMT +1. The time now is 07:36 PM.

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

About Us

"It's about Microsoft Excel"