A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Excel formula



 
 
Thread Tools Display Modes
  #1  
Old April 19th, 2010, 03:38 PM posted to microsoft.public.excel.misc
JAmes
external usenet poster
 
Posts: 904
Default Excel formula

Hi all, looking for help with a formula,
I have column G which is money recieved, ideally this should be €40 in each
cell, however sometimes it is more or less, so i have column H which is the
difference between money recieved and €40, eg if €35 recieved, shows -€5 if
45 recieved shows €5.
I had =G26-40 however this will show -€40 when there is no entry in the
cell G.
ho do i show this as blank or 0 when no entry?

Also how do i repeat formula for all cells in a column?
Thanks
James
  #2  
Old April 19th, 2010, 03:46 PM posted to microsoft.public.excel.misc
eduardo
external usenet poster
 
Posts: 2,131
Default Excel formula

Hi,

=if(G26="","",G26-40)

"james" wrote:

Hi all, looking for help with a formula,
I have column G which is money recieved, ideally this should be €40 in each
cell, however sometimes it is more or less, so i have column H which is the
difference between money recieved and €40, eg if €35 recieved, shows -€5 if
45 recieved shows €5.
I had =G26-40 however this will show -€40 when there is no entry in the
cell G.
ho do i show this as blank or 0 when no entry?

Also how do i repeat formula for all cells in a column?
Thanks
James

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.