PC Review


Reply
Thread Tools Rate Thread

Database function criteria

 
 
Maistrye
Guest
Posts: n/a
 
      5th Jul 2006

Hi,

Essentially, I would like to be able to specify the criteria inside the
formulae DGET, DSUM, etc. as opposed to referencing cells elsewhere in
the spreadsheet. I'll give a bit of an example (and yes, I know for
this example there are other convenient ways to do it, that's not the
point):

Limitations:
- No VBA (can't be guaranteed others will turn on macros)

Database: Let it be called "db" for reference below.
Key Value
A 5
B 6
C 7

List:
Key OtherInfo Value
A Something [Formula]
A Whatever [Formula]
B YetMore [Formula]

Where the [Formula] is = DGET(db, "Value", [Criteria])
Where the [Criteria] is generated based on the key value in the current
row. ie. for the first row in the List, it would be Key = A, and so
on.

So, is there any way to assemble the criteria inside the formula? And
if so, how?

Thanks,
Scott


--
Maistrye
------------------------------------------------------------------------
Maistrye's Profile: http://www.excelforum.com/member.php...o&userid=36078
View this thread: http://www.excelforum.com/showthread...hreadid=558659

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database function criteria Art Microsoft Excel Worksheet Functions 5 9th May 2008 08:24 PM
Can Database Function Criteria be a Date? =?Utf-8?B?anJ2?= Microsoft Excel Worksheet Functions 9 12th Oct 2007 03:13 PM
Database Function Criteria Boolean Operations =?Utf-8?B?YW1wb3pkb2w=?= Microsoft Excel Worksheet Functions 8 18th Aug 2006 10:40 PM
Database Function Criteria Boolean Operations =?Utf-8?B?YW1wb3pkb2w=?= Microsoft Excel Worksheet Functions 0 18th Aug 2006 06:56 PM
Database function criteria =?Utf-8?B?U3RlcGhlbiBCcm9vaw==?= Microsoft Excel Discussion 2 11th Nov 2004 08:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:40 AM.