Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
abs abs is offline
external usenet poster
 
Posts: 10
Default Can I add a percentage formula to an IF statement?

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(h210%, "false")))

Thanks
Abs
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Can I add a percentage formula to an IF statement?

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" wrote in message
...
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(h210%,
"false")))

Thanks
Abs



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
abs abs is offline
external usenet poster
 
Posts: 10
Default Can I add a percentage formula to an IF statement?

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" wrote in message
...
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(h210%,
"false")))

Thanks
Abs




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Can I add a percentage formula to an IF statement?

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" wrote in message
...
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" wrote in message
...
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(h210%,
"false")))

Thanks
Abs






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Can I add a percentage formula to an IF statement?

=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(h210%, "false")))

Thanks
Abs

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
Percentage formula in Excel spreadsheet Rick New Users to Excel 5 November 10th 08 04:30 AM
Formula w/negative no.s & Percentage Anshin Excel Worksheet Functions 2 April 14th 06 08:09 PM
formula percentage problem thinkpic New Users to Excel 4 November 2nd 05 08:04 PM
percentage formula Gina Excel Worksheet Functions 2 October 21st 05 09:05 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 03:34 AM.

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"