LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Treasurer John
 
Posts: n/a
Default DSUM gives a #VALUE! error and I can't work out why!

Having upgraded from Excel 97 to Excel 2003 I have a problem with some of my
calculations in existing spreadsheets. Using DSUM the database is the results
of an Access query, (written in the formula as
Query_from_MS_Access_Database), the field is the range of column B from the
query listing amounts of money (written in the formula as B2:B214) and the
criteria is the field range encompasing
31/01/2005 <1/03/2005 in fields below ones saying Date, i.e. the effect should be to sum all the amounts in the database query (column B) which have the date (column A headed Date) in February 05.


I can't find anything wrong in the formula and the 'trace precedents' lines
all point to the right places. The 'circle invalid data' option doesn't
circle anything. The dates are in the same format in column A as in the
criteria fields.

Using the 'Trace error' function it points to the header of column A which
says Date and the field in the criteria column which also says Date. The
error message expands to 'a value in the formula is of the wrong data type'.
I can't work out, if this is referring to the fields saying Date, what could
possibly be wrong with the data type.

Thanks for your 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



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