LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default adding fileds to an excel database using vairable criteria

I'm using excel 2003 as a database.

The db has 10 or so fields (i.e columns) and just under 1000 records
(i.e.rows)

for argument sakes, lets say they are product prices for various brands i
many cities.

I need to add averages of the prices using various criteria to each record.
So for example I need to add the average price for all cars except the Ford
brand in Los Angeles just to the los Angeles records.

I tried to use the DAVERGE() func and copy it down the column but the
criteria needs to be "fairly" static. Is there a way to use IF or maybe an
array {} func to do this. Something that looks at the entire db and if the
city matches the city on that row, then average all the prices for the except
except for Ford.

I can do it easily with a pivot table and then link with a VLOOKUP but I
have many many of these db's and it starts to get complicated.
 
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
Vairable Fields in a VLookup Paul Peterson - Velox Consulting, LLC Excel Worksheet Functions 4 October 6th 08 09:19 PM
Adding fileds in a list based on a lookup Gregory Day Excel Worksheet Functions 5 March 30th 08 05:35 PM
Help with calculating data from different fileds Stewart1979 Excel Discussion (Misc queries) 1 February 12th 08 05:21 PM
=DMIN(database,field,criteria) question about criteria Dummy Excel Discussion (Misc queries) 2 April 16th 07 08:02 PM
Specify a null value in an Excel Database criteria range Johnnyy2k Excel Worksheet Functions 2 December 28th 04 04:43 PM


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