Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kvail
 
Posts: n/a
Default Return Column header, if row value is > X

I need to create a formula the looks at a row range for a value over
$1,000,000 and if a cell in the row matches the criteria, return the header
of that column that matches the cell...

For example
A B C D
1 "What FY contains value 1,000,000?" __________
2 FY01 FY02 FY03 FY04
3 1,500 15,000 150,000 1,500,000

DESIRED result in cell D1 should be FY04.


Any solutions on how to write this formula? I'm sure it will be a nesting
statement.
Thanks
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Copy this into D1:

=INDEX(2:2,MATCH(TRUE,3:31000000,0))

and then press ctrl/shift/enter. XL will automatically
place {} around the formula to indicate that it's an
array formula.

HTH
Jason
Atlanta, GA

-----Original Message-----
I need to create a formula the looks at a row range for

a value over
$1,000,000 and if a cell in the row matches the

criteria, return the header
of that column that matches the cell...

For example
A B

C D
1 "What FY contains value 1,000,000?"

__________
2 FY01 FY02 FY03

FY04
3 1,500 15,000 150,000

1,500,000

DESIRED result in cell D1 should be FY04.


Any solutions on how to write this formula? I'm sure it

will be a nesting
statement.
Thanks
.

  #3   Report Post  
kvail
 
Posts: n/a
Default

Jason, you are wonderful! Thank you it worked!

"Jason Morin" wrote:

Copy this into D1:

=INDEX(2:2,MATCH(TRUE,3:31000000,0))

and then press ctrl/shift/enter. XL will automatically
place {} around the formula to indicate that it's an
array formula.

HTH
Jason
Atlanta, GA

-----Original Message-----
I need to create a formula the looks at a row range for

a value over
$1,000,000 and if a cell in the row matches the

criteria, return the header
of that column that matches the cell...

For example
A B

C D
1 "What FY contains value 1,000,000?"

__________
2 FY01 FY02 FY03

FY04
3 1,500 15,000 150,000

1,500,000

DESIRED result in cell D1 should be FY04.


Any solutions on how to write this formula? I'm sure it

will be a nesting
statement.
Thanks
.


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
what formula do i put for column m = column k minus column l in e. jenniss Excel Discussion (Misc queries) 5 January 6th 05 08:18 PM
Putting text in a column based on variable text from another colum Jacky D. Excel Discussion (Misc queries) 1 December 16th 04 06:09 PM
Change the width of a single column in a column chart Dave Charts and Charting in Excel 2 December 13th 04 07:25 PM
How do I sort a column of formulas in Excel? Gordon Excel Discussion (Misc queries) 2 November 27th 04 01:55 AM
How do I sort a column of formulas in Excel? Gordon Excel Discussion (Misc queries) 0 November 26th 04 03:19 PM


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