Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default 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?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default 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?


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
Using TODAY, lookup and add values from a column Phil_S[_2_] Excel Discussion (Misc queries) 1 September 29th 08 01:06 PM
sum data in column for dates until today jonnel Excel Worksheet Functions 3 July 31st 06 01:11 PM
Enter TODAY if cell has data Cie New Users to Excel 6 December 21st 05 04:18 PM
Lookup and compare to (today) + time and get result matteo Excel Discussion (Misc queries) 0 June 16th 05 07:43 PM
=IF(OR(TODAY()G9),"Pass","Overdue") Why doe it not wo. Fkor Excel Discussion (Misc queries) 3 March 10th 05 08:29 AM


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