#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If formula

I am stuck trying to figure out a formula to use for my calculation. I'll try
to explain it the best I can.
Here is what I have so far: =if(F34=0,L34+F35,L35-F35). This formula works
just fine but I need to add another 'if' formula that has: if L34=0 and F34=0
then use F35-L35.
I just started doing formulas yesterday so sorry if this one is really
simple and I'm just overlooking something.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 418
Default If formula

dualshock wrote:
I am stuck trying to figure out a formula to use for my calculation. I'll try
to explain it the best I can.
Here is what I have so far: =if(F34=0,L34+F35,L35-F35). This formula works
just fine but I need to add another 'if' formula that has: if L34=0 and F34=0
then use F35-L35.


There are many ways to do anything. One way to accomplish what you
seem to want is:

=if(F34=0, if(L34=0, F35-L35, L34+F35), L35-F35)

PS: Should "L34+F35" [sic] be L35+F35?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default If formula


Try:

IF(AND(L34=0,F34=0),F35-L35, IF(F34=0,L34+F35,L35-F35)).

HTH


--
Casey


------------------------------------------------------------------------
Casey's Profile: http://www.excelforum.com/member.php...fo&userid=4545
View this thread: http://www.excelforum.com/showthread...hreadid=559402

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 252
Default If formula

=if(F34=0,IF(L34=0,-L35,L34)+F35,L35-F35)


"dualshock" wrote:

I am stuck trying to figure out a formula to use for my calculation. I'll try
to explain it the best I can.
Here is what I have so far: =if(F34=0,L34+F35,L35-F35). This formula works
just fine but I need to add another 'if' formula that has: if L34=0 and F34=0
then use F35-L35.
I just started doing formulas yesterday so sorry if this one is really
simple and I'm just overlooking something.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If formula

Thank you! This is exactly what I was trying to get.

"Casey" wrote:


Try:

IF(AND(L34=0,F34=0),F35-L35, IF(F34=0,L34+F35,L35-F35)).

HTH


--
Casey


------------------------------------------------------------------------
Casey's Profile: http://www.excelforum.com/member.php...fo&userid=4545
View this thread: http://www.excelforum.com/showthread...hreadid=559402


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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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