From: Teethless mama on
=IF(MAX(A2:C2)>30,8,"undefined")


"Zuo" wrote:

> No, it must be if any of the numbers are greater than 60 or if the second
> longest is greater than 30. You must take into account all numbers all the
> time.
>
> "JLatham" wrote:
>
> > For entries on row 2:
> > =IF(OR(A2>60,B2>30),8,1)
> > Ok, you may want a different number than 1 for the other cost, but I'm
> > trying to attract customers for you.
> >
> >
> > "Zuo" wrote:
> >
> > > I need to satisfy the following condition: If the longest side of a box is
> > > greater than 60 or its second longest side is greater than 30, then charge
> > > $8. I have the Length, Width and Height measurements of each package in
> > > columns A,B, C.
> > >
> > > Example
> > > ABC
> > > 59,35,15
> > >
> > > Thanks in advance for the help.
> > > Regards,
> > > ZUO
From: Zuo on
No, the problem is that I need to satisfy either of two conditions, first
condition is, are there any of the measurements longer than 60? A MAX formula
resolves that easily. The problem then becomes is the second longest side
(doesn't matter which), longer than 30? First you have to determine which is
the second longest and then determine if it is longer than 30. That is why
in my example I use a first measurement that is the longest but less than 60
and the second longest measurement which is more than 30.

"Teethless mama" wrote:

> =IF(MAX(A2:C2)>30,8,"undefined")
>
>
> "Zuo" wrote:
>
> > No, it must be if any of the numbers are greater than 60 or if the second
> > longest is greater than 30. You must take into account all numbers all the
> > time.
> >
> > "JLatham" wrote:
> >
> > > For entries on row 2:
> > > =IF(OR(A2>60,B2>30),8,1)
> > > Ok, you may want a different number than 1 for the other cost, but I'm
> > > trying to attract customers for you.
> > >
> > >
> > > "Zuo" wrote:
> > >
> > > > I need to satisfy the following condition: If the longest side of a box is
> > > > greater than 60 or its second longest side is greater than 30, then charge
> > > > $8. I have the Length, Width and Height measurements of each package in
> > > > columns A,B, C.
> > > >
> > > > Example
> > > > ABC
> > > > 59,35,15
> > > >
> > > > Thanks in advance for the help.
> > > > Regards,
> > > > ZUO
From: Zuo on
I have to give it to Fred Smith. That is what I needed, but thank you all
very much for trying to help. All your help is very much appreciated.

"Fred Smith" wrote:

> =IF(OR(MAX(A2:C2)>60,LARGE(A2:C2,2)>30),8,0)
>
> Regards,
> Fred
>
> "Zuo" <Zuo(a)discussions.microsoft.com> wrote in message
> news:D59AB420-2469-4141-82F1-B1F1E6F89FA5(a)microsoft.com...
> > No, it must be if any of the numbers are greater than 60 or if the second
> > longest is greater than 30. You must take into account all numbers all
> > the
> > time.
> >
> > "JLatham" wrote:
> >
> >> For entries on row 2:
> >> =IF(OR(A2>60,B2>30),8,1)
> >> Ok, you may want a different number than 1 for the other cost, but I'm
> >> trying to attract customers for you.
> >>
> >>
> >> "Zuo" wrote:
> >>
> >> > I need to satisfy the following condition: If the longest side of a
> >> > box is
> >> > greater than 60 or its second longest side is greater than 30, then
> >> > charge
> >> > $8. I have the Length, Width and Height measurements of each package
> >> > in
> >> > columns A,B, C.
> >> >
> >> > Example
> >> > ABC
> >> > 59,35,15
> >> >
> >> > Thanks in advance for the help.
> >> > Regards,
> >> > ZUO
>
> .
>
From: Fred Smith on
You're welcome, thanks for the feedback.

Fred

"Zuo" <Zuo(a)discussions.microsoft.com> wrote in message
news:76A918D1-2EA5-412A-9152-8CDDF161C489(a)microsoft.com...
>I have to give it to Fred Smith. That is what I needed, but thank you all
> very much for trying to help. All your help is very much appreciated.
>
> "Fred Smith" wrote:
>
>> =IF(OR(MAX(A2:C2)>60,LARGE(A2:C2,2)>30),8,0)
>>
>> Regards,
>> Fred
>>
>> "Zuo" <Zuo(a)discussions.microsoft.com> wrote in message
>> news:D59AB420-2469-4141-82F1-B1F1E6F89FA5(a)microsoft.com...
>> > No, it must be if any of the numbers are greater than 60 or if the
>> > second
>> > longest is greater than 30. You must take into account all numbers all
>> > the
>> > time.
>> >
>> > "JLatham" wrote:
>> >
>> >> For entries on row 2:
>> >> =IF(OR(A2>60,B2>30),8,1)
>> >> Ok, you may want a different number than 1 for the other cost, but I'm
>> >> trying to attract customers for you.
>> >>
>> >>
>> >> "Zuo" wrote:
>> >>
>> >> > I need to satisfy the following condition: If the longest side of a
>> >> > box is
>> >> > greater than 60 or its second longest side is greater than 30, then
>> >> > charge
>> >> > $8. I have the Length, Width and Height measurements of each
>> >> > package
>> >> > in
>> >> > columns A,B, C.
>> >> >
>> >> > Example
>> >> > ABC
>> >> > 59,35,15
>> >> >
>> >> > Thanks in advance for the help.
>> >> > Regards,
>> >> > ZUO
>>
>> .
>>

First  |  Prev  | 
Pages: 1 2
Prev: Format Data Labels
Next: Drill down via page fields