Re: Logic Statements
From: LW (LW_at_discussions.microsoft.com)
Date: 11/23/04
- Next message: marston.gould_at_alaskaair.com: "First Checking On Existance, then finding row position of value in 2D array"
- Previous message: quartz: "RE: use a macro to close a file"
- In reply to: LW: "Re: Logic Statements"
- Next in thread: Bob Phillips: "Re: Logic Statements"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Nov 2004 10:07:04 -0800
Okay, I fixed that to:
=IF((((D12*$O$4)-Y12)/$AB$4)>0,"(((D12*$O$4)-Y12)/$AB$4),"1.0")
But it changes all my calculations to 1.0 now regardless if it is positive
or negative.
"LW" wrote:
> That didn't work unfortunately, it just tells me that there is an error with
> the formula and wants to add a second set of quotes around "1.0". When I
> accept it, it just makes all the values say the word "False".
>
> "Bob Phillips" wrote:
>
> > =IF((((D12*$O$4)-Y12)/$AB$4)>0,"(((D12*$O$4)-Y12)/$AB$4),"1.0")
> >
> > --
> >
> > HTH
> >
> > RP
> > (remove nothere from the email address if mailing direct)
> >
> >
> > "LW" <LW@discussions.microsoft.com> wrote in message
> > news:845797B4-94DD-44FF-9597-19CBEED20843@microsoft.com...
> > > I need a little help with my logic statement. I want for it to display a
> > > "1.0" if the calculation is less than zero and to display the real number
> > if
> > > greater than zero. This is as far as I can get.
> > > Thanks!
> > > =IF((((D12*$O$4)-Y12)/$AB$4)>0,,"1.00")
> >
> >
> >
- Next message: marston.gould_at_alaskaair.com: "First Checking On Existance, then finding row position of value in 2D array"
- Previous message: quartz: "RE: use a macro to close a file"
- In reply to: LW: "Re: Logic Statements"
- Next in thread: Bob Phillips: "Re: Logic Statements"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|