From: nordiyu on
e.g

A B C
D
1 Date (From) 01 Jan 2009 01 Feb 2009 01 Mar 2009
2 Date (To) 31 Jan 2009 28 Feb 2009 31 Mar 2009
3 Actual Qty 205 217 300
4 Target Qty 180 250
401


if today = 15 Feb 2009, how to get actual qty using excel formula?
From: Eduardo on
Hi,

=SUMPRODUCT(--(TODAY()>=A1:H1),--(TODAY()<=A2:H2),A3:H3)

"nordiyu" wrote:

> e.g
>
> A B C
> D
> 1 Date (From) 01 Jan 2009 01 Feb 2009 01 Mar 2009
> 2 Date (To) 31 Jan 2009 28 Feb 2009 31 Mar 2009
> 3 Actual Qty 205 217 300
> 4 Target Qty 180 250
> 401
>
>
> if today = 15 Feb 2009, how to get actual qty using excel formula?
From: Bernard Liengme on
Put the test date (15-Feb-2009) in a cell, I used A7
In another cell enter =INDEX(B3:M3,MONTH(A7))
This will return 217
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"nordiyu" <nordiyu(a)discussions.microsoft.com> wrote in message
news:CAD0A58E-9BAE-4C4A-BD09-1C1AB72B922D(a)microsoft.com...
> e.g
>
> A B C
> D
> 1 Date (From) 01 Jan 2009 01 Feb 2009 01 Mar 2009
> 2 Date (To) 31 Jan 2009 28 Feb 2009 31 Mar 2009
> 3 Actual Qty 205 217
> 300
> 4 Target Qty 180 250
> 401
>
>
> if today = 15 Feb 2009, how to get actual qty using excel formula?