logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
dovetree  
#1 Posted : Thursday, February 8, 2007 7:31:09 PM(UTC)
dovetree

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 5/28/2005(UTC)
Posts: 4
Location: Australia

Hi Can some one help me please? I am trying to find the minimum and maximum of three variables

I am aware of the max and min functions but these only return the minimum or maximum of two variables, ie MAX(data1, data2) returns the max of data1 or data 2. How would findthe max of three??

hoping some one can give me a quick answer

thanks

hayseed  
#2 Posted : Thursday, February 8, 2007 7:47:08 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey dovetree...... try something like , Max((Max(data1 ,data2 )),data3), ......h
dovetree  
#3 Posted : Thursday, February 8, 2007 8:09:25 PM(UTC)
dovetree

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 5/28/2005(UTC)
Posts: 4
Location: Australia

thanks hayseed, I thought of nesting the function but was not sure. Tried it and it works!

thanks again

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.