Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.misc,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default getting quantities according to date

Hi,
I have an excel sheet with two ranges first one is dates the other one
is quantities.
while quantities could be negative.I need to count how many days back
until the quantity is zeroed.
every cell needs to be calculated with above 15 days being equal to one
and below 15 days equals to 0.5
I can't seem to find a way to loop a formula onto a range...

I wrote this formula to calculate the dates
=IF(F7<0,(IF((DATEDIF(F6,G6,"d"))<15,15,30))*(IF(F 7<0,(ABS(F7)))/30),)

the date range is F6:AK6 and quantities is F7:AK7

Thanks
Ofer

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
IF and Date Functions Christ4 Excel Worksheet Functions 3 August 11th 06 04:18 AM
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
Insert Automatic, Non-Updating Date Stamp Ken Zenachon Excel Discussion (Misc queries) 8 January 18th 06 06:52 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Another Date issue. TimM Excel Worksheet Functions 1 November 17th 05 01:58 AM


All times are GMT +1. The time now is 05:12 PM.

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"