LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default conditions in if statements

How about:
=IF(ISERR(G4/F4),0,G4/F4)

or even

=IF(F4=0,0,G4/F4)


"Roy Gudgeon" wrote:

Hi

=IFERROR(IF(G4/F41,F4/G4,G4/F4),1)
I'm using the above current formula to calculate some stock accuracy figures,
where f = computer stock & g = qty physically counted. The "iferror" deals
with 0/0 errors and reports 100%

My only issue comes when I have 0 computer stock but find some actual stock.
Applying this formula gives a 100% result when I actually need a 0% result.

I have tried using if (f4 = 0 & g41), ........to set a condition but this
only uses the 2nd statement as the true test and returns 100% when used in
the formula, any help greatly appreciated

thanks
Roy

 
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
Multiple conditions and IF Statements [email protected] Excel Discussion (Misc queries) 4 January 18th 08 06:54 PM
Sumif, And Statements - multiple conditions Des Excel Worksheet Functions 3 September 7th 07 01:48 AM
IF statements and conditions Maliya9 Excel Worksheet Functions 4 January 12th 07 03:46 PM
If statements and conditions - again!! new prob Maliya9 Excel Worksheet Functions 2 January 6th 07 02:07 PM
Sum if statements with conditions La Donna Excel Worksheet Functions 2 June 20th 05 01:14 PM


All times are GMT +1. The time now is 04:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"