LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using VBA to calculate some data

Hi everyone, I hope someone can think of a whizzy way to do th
following.

I could use a pivot table but I would like it to be faster and mor
whizzy than that, so would like to use VBA if possible.

I have a data sheet, called "data". Inside this sheet are a number o
formulae which calculate some derived fields.

I would like to develop a VBA code that does the following:

In sheet "analysis", and based on a value placed in cell A5 "customer
and "product" take the the average time for an order to be processe
after sold. And also gives the total number of the selected category o
product sold.

Where in sheet "data", the time taken per order is based on column D
column C.

And column V contains the "type", column R contains the "category" an
column S the "product".

Is there a way to write a code that takes the data in sheet "data" an
based on the values in "analysis" does the following:

Based on the customer selected, give a listing of all the products sol
to them ? And also give the average time noted above.

Hope this isn't too clumsy, and that someone brighter than me can com
up with a colution.

Thank you in advance.

Scott

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

 
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
Calculate data from different sheets Stefan Excel Discussion (Misc queries) 4 April 1st 09 12:30 PM
HELP! Find Data in columns next to known data then Calculate Derro Excel Discussion (Misc queries) 2 January 25th 09 12:23 AM
How do I calculate formulas for yes/no data How to calculate yes/no formulas Excel Worksheet Functions 1 February 23rd 06 02:55 PM
Calculate data on 2 different worksheets jc Excel Discussion (Misc queries) 0 January 17th 05 05:43 PM
Import data, calculate, export data darkstar218 Excel Programming 4 February 9th 04 05:15 PM


All times are GMT +1. The time now is 08:04 AM.

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"