#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default IF Functions

Probabally a really simple question but Im looking to do my IF function in a
couple of stages firstly to check cell L72 and check if the value is greater
than 1 bringing back the value in F72 if true.

Then moves onto L71 and adds the value of F71 to the origional numbers above
(if the value of L71 doesnt = 0) and so on and so on....

=IF(L721,(F72+IF(L71=0,F71)+IF(L70=0,F70)))

Hope this makes sence

Please help
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default IF Functions

=IF(L721,F72,0)+SUMIF(L70:L71,"<0",F70:F71)

Just change the L71 and F71 to your final row.

--
__________________________________
HTH

Bob

"Roachy" wrote in message
...
Probabally a really simple question but Im looking to do my IF function in
a
couple of stages firstly to check cell L72 and check if the value is
greater
than 1 bringing back the value in F72 if true.

Then moves onto L71 and adds the value of F71 to the origional numbers
above
(if the value of L71 doesnt = 0) and so on and so on....

=IF(L721,(F72+IF(L71=0,F71)+IF(L70=0,F70)))

Hope this makes sence

Please help



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default IF Functions

Hi

I'm not really understanding your problem.
Your statement says if L71=0, add F71, but your text says
(if the value of L71 doesn't = 0)


Instead of Multiple If's you could use
=IF(L721,F72+F71*(L71<0)+F70*(L70<0) ....... ,"")

the sting of dots ... is for you to add as many other expressions of the
type shown,
with the final ,"" representing what you want to happen if L72 is not 1.

Each Expression
F71*(L71<0)
will evaluate to either the value in F71 if L71<0 or 0 if it is not.

--
Regards
Roger Govier

"Roachy" wrote in message
...
Probabally a really simple question but Im looking to do my IF function in
a
couple of stages firstly to check cell L72 and check if the value is
greater
than 1 bringing back the value in F72 if true.

Then moves onto L71 and adds the value of F71 to the origional numbers
above
(if the value of L71 doesnt = 0) and so on and so on....

=IF(L721,(F72+IF(L71=0,F71)+IF(L70=0,F70)))

Hope this makes sence

Please help


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default IF Functions

Cheers Bob worked a treat

"Bob Phillips" wrote:

=IF(L721,F72,0)+SUMIF(L70:L71,"<0",F70:F71)

Just change the L71 and F71 to your final row.

--
__________________________________
HTH

Bob

"Roachy" wrote in message
...
Probabally a really simple question but Im looking to do my IF function in
a
couple of stages firstly to check cell L72 and check if the value is
greater
than 1 bringing back the value in F72 if true.

Then moves onto L71 and adds the value of F71 to the origional numbers
above
(if the value of L71 doesnt = 0) and so on and so on....

=IF(L721,(F72+IF(L71=0,F71)+IF(L70=0,F70)))

Hope this makes sence

Please help




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
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
XL2003 FILTER FUNCTIONS VS. XL2007 FILTER FUNCTIONS RET70168 Excel Worksheet Functions 0 June 15th 07 01:00 AM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM


All times are GMT +1. The time now is 03:49 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"