Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RestlessAde
 
Posts: n/a
Default Retrieving data from a database list

Hi,

I would like to know how to retrieve one value from a database list based on
multiple criteria. My list as the following headings:

Company, Year, Revenue ($)

I would like to perform some form of lookup function to retrieve a unique
value based on several criteria.

E.g. If Company = "company 1" and Year = "2000", return the value for
"Revenue ($)".

Bear in mind that there are several hundred company names, and that I would
like to be able to copy this formula into other cells, referencing different
criteria.

I've tried DGET, but can't work out how to use.

Any suggestions would be much appreciated.

RA

  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=SUMPRODUCT(--(Company="company 1"),--(Year=2001),Revenue)
Where Company, Year and Revenue are references to data ranges in according
columns (NB! All ranges must be of same dimension).

Arvi Laanemets


"RestlessAde" wrote in message
...
Hi,

I would like to know how to retrieve one value from a database list based

on
multiple criteria. My list as the following headings:

Company, Year, Revenue ($)

I would like to perform some form of lookup function to retrieve a unique
value based on several criteria.

E.g. If Company = "company 1" and Year = "2000", return the value for
"Revenue ($)".

Bear in mind that there are several hundred company names, and that I

would
like to be able to copy this formula into other cells, referencing

different
criteria.

I've tried DGET, but can't work out how to use.

Any suggestions would be much appreciated.

RA



  #3   Report Post  
RestlessAde
 
Posts: n/a
Default

Thanks Arvi, that works really great. (I would never have thought to use
SumProduct - bizzare!)

RA

"Arvi Laanemets" wrote:

Hi

=SUMPRODUCT(--(Company="company 1"),--(Year=2001),Revenue)
Where Company, Year and Revenue are references to data ranges in according
columns (NB! All ranges must be of same dimension).

Arvi Laanemets


"RestlessAde" wrote in message
...
Hi,

I would like to know how to retrieve one value from a database list based

on
multiple criteria. My list as the following headings:

Company, Year, Revenue ($)

I would like to perform some form of lookup function to retrieve a unique
value based on several criteria.

E.g. If Company = "company 1" and Year = "2000", return the value for
"Revenue ($)".

Bear in mind that there are several hundred company names, and that I

would
like to be able to copy this formula into other cells, referencing

different
criteria.

I've tried DGET, but can't work out how to use.

Any suggestions would be much appreciated.

RA




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
How do I create a list in excel that contains external data? bill@bb Excel Discussion (Misc queries) 1 February 15th 05 02:45 AM
Auto scroll down data validation list [email protected] Excel Discussion (Misc queries) 4 January 28th 05 06:44 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Using Validation List from Another Workbook with Dependent Data Mike R. Excel Worksheet Functions 5 January 8th 05 07:06 PM
How do I create a "List If" function.I need to search a database . Flying Solo Excel Worksheet Functions 2 December 7th 04 03:44 PM


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