to lookup data for 'today()'
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? |
to lookup data for 'today()'
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? |
to lookup data for 'today()'
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" wrote in message ... 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? |
All times are GMT +1. The time now is 01:36 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com