Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Formula Referencing Columns By Date

Hi, I'm trying to get a formula to reference a column for values depending
on the corresponding date headers. My layout is below

In A2 is TODAY()
In J4 thru AJ4 is =IF(J8<"",I4+1,"")
In I4 is 11/1/2009
In E7 is =J7/J28
In E8 is =J8/J28
In E9 is =J9/J28
Etc...

What I'd like to do is to have the formula look at A2 and find the
corresponding date in J4 Thru AJ4 so that it'll only use the numbers in a
given column that are derrived from today only.

As you can tell my formula is simple but I'm beginging to think what I am
looking for is a tad more.


Thanks in Advance,
Rob
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Formula Referencing Columns By Date

I am not sure I understood you query correctly.

The below will return the column index
=MATCH(A2,J4:AJ4,0)

Using the below two formulas you can refer to the 3rd row of the array
J4:AJ100 which is row number 6

=HLOOKUP(A2,$J$4:$AJ$100,3)
=INDEX($J4:$AJ$100,3,MATCH($A$2,$J$4:$AJ$4,0))



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


"Rob" wrote:

Hi, I'm trying to get a formula to reference a column for values depending
on the corresponding date headers. My layout is below

In A2 is TODAY()
In J4 thru AJ4 is =IF(J8<"",I4+1,"")
In I4 is 11/1/2009
In E7 is =J7/J28
In E8 is =J8/J28
In E9 is =J9/J28
Etc...

What I'd like to do is to have the formula look at A2 and find the
corresponding date in J4 Thru AJ4 so that it'll only use the numbers in a
given column that are derrived from today only.

As you can tell my formula is simple but I'm beginging to think what I am
looking for is a tad more.


Thanks in Advance,
Rob

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Formula Referencing Columns By Date

This formula works perfectly!

=INDEX($J4:$AJ$100,3,MATCH($A$2,$J$4:$AJ$4,0))

Thanks!!!!!!!


"Jacob Skaria" wrote:

I am not sure I understood you query correctly.

The below will return the column index
=MATCH(A2,J4:AJ4,0)

Using the below two formulas you can refer to the 3rd row of the array
J4:AJ100 which is row number 6

=HLOOKUP(A2,$J$4:$AJ$100,3)
=INDEX($J4:$AJ$100,3,MATCH($A$2,$J$4:$AJ$4,0))



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


"Rob" wrote:

Hi, I'm trying to get a formula to reference a column for values depending
on the corresponding date headers. My layout is below

In A2 is TODAY()
In J4 thru AJ4 is =IF(J8<"",I4+1,"")
In I4 is 11/1/2009
In E7 is =J7/J28
In E8 is =J8/J28
In E9 is =J9/J28
Etc...

What I'd like to do is to have the formula look at A2 and find the
corresponding date in J4 Thru AJ4 so that it'll only use the numbers in a
given column that are derrived from today only.

As you can tell my formula is simple but I'm beginging to think what I am
looking for is a tad more.


Thanks in Advance,
Rob

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
referencing date so you can use A value or B value in a formula v1rt8 Excel Discussion (Misc queries) 7 September 9th 08 03:26 AM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Worksheet Functions 2 April 21st 06 02:50 AM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM
Referencing Columns in a Row. PLEASE HELP!! Chism Henry via OfficeKB.com Excel Worksheet Functions 2 June 25th 05 03:25 AM
excel formula counting date to date in 4 columns stuie d Excel Worksheet Functions 1 May 4th 05 12:46 PM


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