How to Take the value of the same date

Closed
Mahesh - Mar 18, 2011 at 06:17 AM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Mar 18, 2011 at 07:16 AM
Hello,

I am getting problem to select a cell value with reference to date range.

Eg:

for preparation of DPR, i need to put date of DPR.
i want to put in following way.

i want prepare a worksheet formula in which in a row there are dates from 1/1/2011 to 31/1/2011, qty done in next row

if today date 1/1/2011, then cell should take value below cell of the same date(1/1/2011),
then if i change todays date as 20/1/2011, cell should take value below cell of the same date(20/1/2011).

plz help me to do this.

1 response

venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Mar 18, 2011 at 07:16 AM
suppose your data in row no. 1 and 2 fvrom A1 to G2 is like this


12-Mar-11 13-Mar-11 14-Mar-11 15-Mar-11 16-Mar-11 17-Mar-11 18-Mar-11
8 9 9 8 7 6 7


in an empty cell type this formula

=HLOOKUP(TODAY(),$A$1:$G$2,2,0)

you will getg 7
0