LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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

 
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
getting quantities according to date [email protected] Excel Discussion (Misc queries) 0 December 4th 06 10:16 AM
getting quantities according to date [email protected] Excel Worksheet Functions 0 December 4th 06 10:16 AM
if duplicates then add quantities? DKY[_95_] Excel Programming 3 November 11th 05 01:42 PM
Different quantities of a certain item... JDellenger Excel Worksheet Functions 1 July 8th 05 04:37 AM
sum partnumber quantities JCA Excel Programming 1 August 14th 03 01:08 AM


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