Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default trying to add to a if statement

I have this statement in B3;

=IF(OR(January!B3 = 0,January!B3 =""),0, January!B3-January!E3)

I need to add;

if C3 0 then B3 = C3

can this be done along with the first "if"

Thanks in advance...David D
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default trying to add to a if statement

=IF(C30,C3,IF(OR(January!B3 = 0,January!B3 =""),0, January!B3-January!E3))
--
David Biddulph

"David" wrote in message
...
I have this statement in B3;

=IF(OR(January!B3 = 0,January!B3 =""),0, January!B3-January!E3)

I need to add;

if C3 0 then B3 = C3

can this be done along with the first "if"

Thanks in advance...David D



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default trying to add to a if statement

=IF(January!C30,January!C3,IF(OR(January!B3 = 0,January!B3 =""),0,
January!B3-January!E3))


--
__________________________________
HTH

Bob

"David" wrote in message
...
I have this statement in B3;

=IF(OR(January!B3 = 0,January!B3 =""),0, January!B3-January!E3)

I need to add;

if C3 0 then B3 = C3

can this be done along with the first "if"

Thanks in advance...David D



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default trying to add to a if statement

if
I need to add;

if C3 0 then B3 = C3

can this be done along with the first "if"


maybe

=IF(and(January!B3 = 0,January!C3 =0),0,(January!C3
=0)*(January!B3<0)*(January!B3-January!E3)+(January!B3
=0)*(January!C30)*(January!C3-January!E3))

"David" wrote:

I have this statement in B3;

=IF(OR(January!B3 = 0,January!B3 =""),0, January!B3-January!E3)

I need to add;

if C3 0 then B3 = C3

can this be done along with the first "if"

Thanks in advance...David D

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
Sum if statement with a left statement Eric D Excel Discussion (Misc queries) 4 July 23rd 08 05:31 PM
SUMIF statement with AND statement Eric D Excel Discussion (Misc queries) 2 July 14th 08 07:24 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


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