Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help to write the macros given a set of data

Hi,

I've a set of data for the following:

Products 8/1 8/2 8/3 8/4 8/5 8/6 8/7
Plan Type A 0 0 0 60000 60000 20000 0
Result Type A 0 20000 0 40000 80000 20000

Using macros of the above Plan & Result
Output as below
Plan Result Diff Qty On schedule
Type A 8/4 8/5 -1 20000 20000
Type A 8/4 8/7 -3 20000 0
Type A 8/4 -999 20000 0
Type A 8/5 -999 60000 0
Type A 8/6 -999 20000 0

Note: -999 = No results

Thanks

S
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Help to write the macros given a set of data

The data by itself in this case doesn't give enough information to write a
macro. You need to be more specific. Why doesn't 8/2 have data in the
results. Why does 1st results have the dates 8/34 and 8/5 while the 2nd
results have dates 8/4 and 8/7?

"sengtng1" wrote:

Hi,

I've a set of data for the following:

Products 8/1 8/2 8/3 8/4 8/5 8/6 8/7
Plan Type A 0 0 0 60000 60000 20000 0
Result Type A 0 20000 0 40000 80000 20000

Using macros of the above Plan & Result
Output as below
Plan Result Diff Qty On schedule
Type A 8/4 8/5 -1 20000 20000
Type A 8/4 8/7 -3 20000 0
Type A 8/4 -999 20000 0
Type A 8/5 -999 60000 0
Type A 8/6 -999 20000 0

Note: -999 = No results

Thanks

S

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Help to write the macros given a set of data

You can't post spreadsheets on this site.

"sengtng1" wrote:

Hi Joel,
I've attached the spreesheet. The dates started from 8/11 instead of
8/1. Can you help. Thank in advance.

sengtng1




Joel wrote:
The data by itself in this case doesn't give enough information to write a
macro. You need to be more specific. Why doesn't 8/2 have data in the
results. Why does 1st results have the dates 8/34 and 8/5 while the 2nd
results have dates 8/4 and 8/7?

"sengtng1" wrote:

Hi,

I've a set of data for the following:

Products 8/1 8/2 8/3 8/4 8/5 8/6 8/7
Plan Type A 0 0 0 60000 60000 20000 0
ResultType A 0 20000 0 40000 80000 20000

Using macros of the above Plan & Result
Output as below
Plan Result Diff Qty On schedule
Type A 8/4 8/5 -1 20000 20000
Type A 8/4 8/7 -3 20000 0
Type A 8/4 -999 20000 0
Type A 8/5 -999 60000 0
Type A 8/6 -999 20000 0

Note: -999 = No results

Thanks

S



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 learn to write excel macros? excel macro Excel Programming 3 July 15th 06 10:52 PM
How to write macros Aries6 Excel Discussion (Misc queries) 2 December 16th 05 03:40 PM
macro to write other macros? Darren Hill[_3_] Excel Programming 1 May 19th 05 07:10 PM
write error - even when no macros run Jabba Excel Programming 0 October 26th 04 12:53 PM
Macros that write data to a new spreadsheet? StargateFanFromWork Excel Programming 3 June 24th 04 04:08 PM


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