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: 2,069
Default Step thru Dates

I want to perform a calculation on a range of dates as follows

Date 1 - 2-7-07
Date 2 - 8-7-07
Date 3 - 2-7-08
Date 4 - 8-7-08

For output 1 I would like to multiply 5*(date2-date1)
For output 2 I would like to multiply 5*(date3-date2)
For output 3 I would like to multiply 5*(date4-date3)

and then store those values... multiply each of the outputs as FINAL1.

Then step down one step and have:
For output 2b I would like to multiply 5*(date3-date2)
For output 3b I would like to multiply 5*(date4-date3)

and then store those values... multiply each of the outputs as FINAL2.

simple if my number of dates doesn't change, but what if I have ten dates
one time and 3 the next? How can I get a variable number of outputs/Finals?

THANKS SO MUCH!
 
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
Creating a Drop Down List with Step by Step Instructions for 2007 remarkable Excel Worksheet Functions 2 March 22nd 09 04:36 AM
Need step by step to add invoice numbering to excel template rmt New Users to Excel 4 July 6th 08 11:45 PM
Step by step tell me cube root (2197) which I know is 13 harish Excel Discussion (Misc queries) 1 May 2nd 08 04:07 PM
What is the step-by-step procedure for making a data list? Bobgolfs56 Excel Discussion (Misc queries) 1 April 23rd 05 02:19 PM
I need step by step instructions to create a macro for 10 imbedde. diana Excel Worksheet Functions 3 January 31st 05 01:56 AM


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