Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default How to calculate this

I have in row B2 and B3 a static number in them ie 5000, in C2 and C3 a
entered number, and in D2 and D3 it is the difference between these.
In E5 this is the total amount required to balance B@ and B3, I can work
this out but what I require in E5 is a 0 if cells C2 and C3 are empty. E5
product is linked into another sheet.
ie
Actual Count Required to balance
B2 5000 C2 3000 D2 2000
B3 5000 C3 4000 D3 1000

E5 3000

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default How to calculate this

Thanks that works great but the boss now wants if one cell is empty and the
other has a value in it to give a result..

"paul" wrote:

if you want it to be 0 if either c2 or c3 are empty
if(or(c2="",c3=""),0,d2+d3)
if you want it to be 0 only if both are empty
=if(and(c2="",c3=""),0,d2+d3)
--
paul

remove nospam for email addy!



"bbc1" wrote:

I have in row B2 and B3 a static number in them ie 5000, in C2 and C3 a
entered number, and in D2 and D3 it is the difference between these.
In E5 this is the total amount required to balance B@ and B3, I can work
this out but what I require in E5 is a 0 if cells C2 and C3 are empty. E5
product is linked into another sheet.
ie
Actual Count Required to balance
B2 5000 C2 3000 D2 2000
B3 5000 C3 4000 D3 1000

E5 3000

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
Auto Calculate Nick Leach Excel Discussion (Misc queries) 1 September 22nd 06 02:42 AM
can't get excel to calculate jack Excel Worksheet Functions 1 August 29th 06 04:36 AM
any formula to auto calculate 1st-12th is 12 days pls? Kelly Lim Excel Discussion (Misc queries) 13 June 17th 06 09:25 AM
Spreadsheet Won't Calculate Scott Excel Discussion (Misc queries) 0 September 29th 05 05:37 PM
Not able to calculate. mark_kramarczyk Excel Worksheet Functions 1 December 29th 04 08:55 PM


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

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"