LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 336
Default calculating a sum that contains a 0 or no data

I am trying to create a worksheet that calculates finances over three
columns, these columns are net, vat and gross, it is designed to enter gross
amount and the vat and net figures are calculated accordingly, I can get this
to run with no problems, however if the gross cell is blank the net cell
shows a value error. I am using the IF command on the vat cell to return a
blank cell ok, but how do I get the net cell to return a blank cell if either
of the other cells are blank?

formular for vat cell is =IF(X13=0,"",X13*17.5%)
X13 is the gross cell

formular for the net cell is =X13-X14
X14 is the vat cell

if there is no data in X13 the net result shows the VALUE error as the
calculation obviously contains a blank or zero.

please help
 
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
Help with calculating data from different fileds Stewart1979 Excel Discussion (Misc queries) 1 February 12th 08 05:21 PM
Calculating a Data Range Andy Excel Discussion (Misc queries) 2 September 19th 07 05:58 AM
Calculating data between two given parameters Craig Excel Worksheet Functions 2 September 14th 07 11:51 AM
calculating data viktor Excel Worksheet Functions 6 October 30th 05 05:31 PM
Calculating using data from another worksheet Sid N Excel Worksheet Functions 1 October 28th 04 09:58 PM


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