PC Review


Reply
Thread Tools Rate Thread

Can I add a percentage formula to an IF statement?

 
 
=?Utf-8?B?QWJz?=
Guest
Posts: n/a
 
      20th Sep 2006
I would like to me able to add percentages to an IF formaule allow for a
margin of error, say 10%. If anyone knows a way round it be much obliged.
the cell reads "=if(H2<=10%, "TRUE", if(h2=h3, "true", if(h2>10%, "false")))

Thanks
Abs
 
Reply With Quote
 
 
 
 
Roger Govier
Guest
Posts: n/a
 
      20th Sep 2006
Hi Abs

We need something to set the 10% against.
Lets say G2 is what you are comparing, and you want a result of true if
H2 is within 10% plus or minus of that value.

=IF(ABS(H2-G2)/G2<=10%,"true","false")


--
Regards

Roger Govier


"Abs" <(E-Mail Removed)> wrote in message
news:A6680261-186E-4AAF-BC2C-(E-Mail Removed)...
>I would like to me able to add percentages to an IF formaule allow for
>a
> margin of error, say 10%. If anyone knows a way round it be much
> obliged.
> the cell reads "=if(H2<=10%, "TRUE", if(h2=h3, "true", if(h2>10%,
> "false")))
>
> Thanks
> Abs



 
Reply With Quote
 
=?Utf-8?B?QWJz?=
Guest
Posts: n/a
 
      20th Sep 2006
Hi Roger,

Manyt thanks for your help. Thank god there are geniuses like you out there
in www :-)

Regards

Abs

"Roger Govier" wrote:

> Hi Abs
>
> We need something to set the 10% against.
> Lets say G2 is what you are comparing, and you want a result of true if
> H2 is within 10% plus or minus of that value.
>
> =IF(ABS(H2-G2)/G2<=10%,"true","false")
>
>
> --
> Regards
>
> Roger Govier
>
>
> "Abs" <(E-Mail Removed)> wrote in message
> news:A6680261-186E-4AAF-BC2C-(E-Mail Removed)...
> >I would like to me able to add percentages to an IF formaule allow for
> >a
> > margin of error, say 10%. If anyone knows a way round it be much
> > obliged.
> > the cell reads "=if(H2<=10%, "TRUE", if(h2=h3, "true", if(h2>10%,
> > "false")))
> >
> > Thanks
> > Abs

>
>
>

 
Reply With Quote
 
Roger Govier
Guest
Posts: n/a
 
      20th Sep 2006
Hi Abs

>geniuses like you

Phewww!!!
Steady on there, I'm no genius but there are a few about in these NG's
(thank goodness)

Thanks for the response and compliment though.

--
Regards

Roger Govier


"Abs" <(E-Mail Removed)> wrote in message
news:912B5826-3A65-4875-9C36-(E-Mail Removed)...
> Hi Roger,
>
> Manyt thanks for your help. Thank god there are geniuses like you out
> there
> in www :-)
>
> Regards
>
> Abs
>
> "Roger Govier" wrote:
>
>> Hi Abs
>>
>> We need something to set the 10% against.
>> Lets say G2 is what you are comparing, and you want a result of true
>> if
>> H2 is within 10% plus or minus of that value.
>>
>> =IF(ABS(H2-G2)/G2<=10%,"true","false")
>>
>>
>> --
>> Regards
>>
>> Roger Govier
>>
>>
>> "Abs" <(E-Mail Removed)> wrote in message
>> news:A6680261-186E-4AAF-BC2C-(E-Mail Removed)...
>> >I would like to me able to add percentages to an IF formaule allow
>> >for
>> >a
>> > margin of error, say 10%. If anyone knows a way round it be much
>> > obliged.
>> > the cell reads "=if(H2<=10%, "TRUE", if(h2=h3, "true", if(h2>10%,
>> > "false")))
>> >
>> > Thanks
>> > Abs

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?VGVldGhsZXNzIG1hbWE=?=
Guest
Posts: n/a
 
      20th Sep 2006
=IF(OR(H2<0.1,H2=H3),TRUE)

"Abs" wrote:

> I would like to me able to add percentages to an IF formaule allow for a
> margin of error, say 10%. If anyone knows a way round it be much obliged.
> the cell reads "=if(H2<=10%, "TRUE", if(h2=h3, "true", if(h2>10%, "false")))
>
> Thanks
> Abs

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Percentage Formula Jessica Microsoft Excel Misc 1 10th Jul 2008 08:06 PM
How do I create a formula by percentage within a formula? =?Utf-8?B?TWlzcyBUZXhhcw==?= Microsoft Excel Worksheet Functions 1 27th Mar 2006 04:51 AM
Percentage Formula =?Utf-8?B?S2l0dHlrYXQ4MTgx?= Microsoft Excel Misc 2 28th Nov 2005 07:11 PM
percentage formula Gina Microsoft Excel Worksheet Functions 2 21st Oct 2005 09:05 PM
IIF statement and percentage almost weekend Microsoft Access Queries 2 12th Jan 2004 08:44 PM


Features
 

Advertising
 

Newsgroups
 


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