#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 148
Default Why #VALUE

My spreadsheet looks something like this:
I have 5 columns as shsown below
A B C D E
DATE Insurance Deposit Rent Total


The date goes IN TO A2
iN B2( INSURAnce) I have a formula @if(now() a2),25,"")
IN C2 (DEPOSIT)I have a formula @if(now() a2),55,"")
IN D2 (DEPOSIT)I have a formula @if(now() a2),45,"")
IN E2 I have then formula @sum(b2;d2)
the trouble is that when there is not data in col b,c,d 2 the response in e2
is # value
why is that
thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Why #VALUE

.. when there is no data in col b,c,d 2
the response in e2 is # value


Couldn't replicate your error ..

Perhaps try instead in E2: =SUM(B2:D2)
[my version uses a colon, not a semicolon]

SUM will ignore text, hence if B2:D2 contains null strings: ""
E2 would simply return a zero
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"pcor" wrote:
My spreadsheet looks something like this:
I have 5 columns as shsown below
A B C D E
DATE Insurance Deposit Rent Total


The date goes IN TO A2
iN B2( INSURAnce) I have a formula @if(now() a2),25,"")
IN C2 (DEPOSIT)I have a formula @if(now() a2),55,"")
IN D2 (DEPOSIT)I have a formula @if(now() a2),45,"")
IN E2 I have then formula @sum(b2;d2)
the trouble is that when there is not data in col b,c,d 2 the response in e2
is # value
why is that
thanks

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 148
Default Why #VALUE

ok thanks


"Max" wrote:

.. when there is no data in col b,c,d 2
the response in e2 is # value


Couldn't replicate your error ..

Perhaps try instead in E2: =SUM(B2:D2)
[my version uses a colon, not a semicolon]

SUM will ignore text, hence if B2:D2 contains null strings: ""
E2 would simply return a zero
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"pcor" wrote:
My spreadsheet looks something like this:
I have 5 columns as shsown below
A B C D E
DATE Insurance Deposit Rent Total


The date goes IN TO A2
iN B2( INSURAnce) I have a formula @if(now() a2),25,"")
IN C2 (DEPOSIT)I have a formula @if(now() a2),55,"")
IN D2 (DEPOSIT)I have a formula @if(now() a2),45,"")
IN E2 I have then formula @sum(b2;d2)
the trouble is that when there is not data in col b,c,d 2 the response in e2
is # value
why is that
thanks

  #4   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Why #VALUE

welcome
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"pcor" wrote in message
...
ok thanks



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



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