Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default calculating an average based on criteria

Hope someone can help with the following:

I have a worksheet ("data") with the following details:
range: A2:AO20000

column S is the country of customer
column C date order placed
column D data order sent
column R customer
column V product bought

What I would like my VBA to do is take this information, and then i
another sheet called "analysis" use the information typed into cell A1
customer area
and A2: customer name

And calculate for each product bought by the customer, the average tim
between column C and column D.
Note where nothing is displayed in cell A1 in "analysis" then th
result of the VBA would give all customers.

Help please !

Thank you,
Scott

--
Message posted from http://www.ExcelForum.com

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
AVERAGE BASED ON 2 CRITERIA aj Excel Worksheet Functions 1 January 28th 09 06:33 PM
Calculating Average based on 3 filled cells from left in a row Narnimar Excel Discussion (Misc queries) 6 December 3rd 08 09:54 AM
average based on criteria ramudt Excel Worksheet Functions 7 September 23rd 08 12:37 PM
need to average based on criteria drd Excel Discussion (Misc queries) 2 May 30th 08 10:17 PM
Calculating an average based on 2 and 3 criteria craggergirl Excel Worksheet Functions 2 February 24th 06 02:37 PM


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