View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Getting data by calling out date

In P12 enter

=HLOOKUP(P1,$A$1:$D$2,2)

I have considered only 4 columns. If have you more values towards the right
adjust the $D in the formula to suit your requirements..

If this post helps click Yes
---------------
Jacob Skaria


"Jafferi" wrote:

How can I get a formula that link to a date cell based on the following table.

For example, in column a1 I have date 0201 and in row a2, I have number 41.1.

In cell p12, a formula that can automatically determine by the date I enter
in p11 for example date 0201, P12 will show results as 41.1

date 0201 date 0204 date 0206 date 0209
row 2 41.1 42.5 47.1 39.9