Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default dget or dsum, that is the question

I want to add a reminder line to my excel workpage. I have a list of dates
that I have certain appointments, also I have a countdown of the number of
days until that appointment. All of this data is already in a table. What I
need it to do is to count the number of appointments I have in the next 7
days. When using the dget or the dsum, I get an error #VALUE

Database: SST (name of the range the database is in)
Field: 3
Criteria: <7

In the criteria line, it wants text, I dont understand why it wont take a
number when a number is what I am looking for.

Any help would be appreciated

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 414
Default dget or dsum, that is the question

Maybe just use Countif:
=COUNTIF(C2:C50,"<7")

Hope this helps
Rowan

justaguyfromky wrote:
I want to add a reminder line to my excel workpage. I have a list of dates
that I have certain appointments, also I have a countdown of the number of
days until that appointment. All of this data is already in a table. What I
need it to do is to count the number of appointments I have in the next 7
days. When using the dget or the dsum, I get an error #VALUE

Database: SST (name of the range the database is in)
Field: 3
Criteria: <7

In the criteria line, it wants text, I dont understand why it wont take a
number when a number is what I am looking for.

Any help would be appreciated

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default dget or dsum, that is the question

I used dcount and my criteria was ="<7"

worked fine for me.

--
Regards,
Tom Ogilvy

"justaguyfromky" wrote in message
...
I want to add a reminder line to my excel workpage. I have a list of

dates
that I have certain appointments, also I have a countdown of the number of
days until that appointment. All of this data is already in a table.

What I
need it to do is to count the number of appointments I have in the next 7
days. When using the dget or the dsum, I get an error #VALUE

Database: SST (name of the range the database is in)
Field: 3
Criteria: <7

In the criteria line, it wants text, I dont understand why it wont take a
number when a number is what I am looking for.

Any help would be appreciated



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
dget and dsum Henry Excel Discussion (Misc queries) 1 October 16th 08 07:36 AM
DGET/DSUM etc ron_b Excel Worksheet Functions 2 March 16th 08 01:44 PM
dget or dsum criteria maffei Excel Worksheet Functions 1 April 27th 07 05:45 PM
dget or dsum? that is the question justaguyfromky Excel Discussion (Misc queries) 1 November 10th 05 03:10 AM
dget or dsum? that is the question bpeltzer Excel Discussion (Misc queries) 0 November 10th 05 12:30 AM


All times are GMT +1. The time now is 05:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"