Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default How to use an array formula for tables

Hello,

I dont really know how to explain what I want so I will try it in the best
way i can.

If Referenced Cell (G9) matches another cell in table (B3:F40) then make
current cell (the one i am writing the formula in) equal to Row 4 of the
particula column where the match was found.

In essence i want it to find some data in a table and tell me the header of
the column where it was found.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default How to use an array formula for tables

=INDIRECT(ADDRESS(4,MIN(IF(B3:F40=G9;COLUMN(B3:F40 ),""))))

CTRL+SHIFT+ENTER it as this is an array-formula

HIH

On 15 Maj, 10:14, Dingerz wrote:
Hello,

I dont really know how to explain what I want so I will try it in the best
way i can.

If Referenced Cell (G9) matches another cell in table (B3:F40) then make
current cell (the one i am writing the formula in) equal to Row 4 of the
particula column where the match was found.

In essence i want it to find some data in a table and tell me the header of
the column where it was found.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default How to use an array formula for tables

corrected

=INDIRECT(ADDRESS(4,MIN(IF(B3:F40=G9,COLUMN(B3:F40 ),""))))


On 15 Maj, 10:34, Jarek Kujawa wrote:
=INDIRECT(ADDRESS(4,MIN(IF(B3:F40=G9;COLUMN(B3:F40 ),""))))

CTRL+SHIFT+ENTER it as this is an array-formula

HIH

On 15 Maj, 10:14, Dingerz wrote:



Hello,


I dont really know how to explain what I want so I will try it in the best
way i can.


If Referenced Cell (G9) matches another cell in table (B3:F40) then make
current cell (the one i am writing the formula in) equal to Row 4 of the
particula column where the match was found.


In essence i want it to find some data in a table and tell me the header of
the column where it was found.- Ukryj cytowany tekst -


- Pokaż cytowany tekst -


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default How to use an array formula for tables

=INDEX(B3:F40,1,MIN(IF(B3:F40=G9,COLUMN(B3:F40),"" ))-COLUMN(B3:F40)+1)

Please note that this is an array formula. Within the cell in edit mode (F2)
paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in the Formula Bar you can notice the curly braces at both ends
"{=<formula}"


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


"Dingerz" wrote:

Hello,

I dont really know how to explain what I want so I will try it in the best
way i can.

If Referenced Cell (G9) matches another cell in table (B3:F40) then make
current cell (the one i am writing the formula in) equal to Row 4 of the
particula column where the match was found.

In essence i want it to find some data in a table and tell me the header of
the column where it was found.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default How to use an array formula for tables

If you mean row 4 of the table use

=INDEX(B3:F40,4,MIN(IF(B3:F40=G9,COLUMN(B3:F40),"" ))-COLUMN(B3:F40)+1)

OR if you mean row 4 of the sheet

=INDEX(B3:F40,2,MIN(IF(B3:F40=G9,COLUMN(B3:F40),"" ))-COLUMN(B3:F40)+1)


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


"Jacob Skaria" wrote:

=INDEX(B3:F40,1,MIN(IF(B3:F40=G9,COLUMN(B3:F40),"" ))-COLUMN(B3:F40)+1)

Please note that this is an array formula. Within the cell in edit mode (F2)
paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in the Formula Bar you can notice the curly braces at both ends
"{=<formula}"


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


"Dingerz" wrote:

Hello,

I dont really know how to explain what I want so I will try it in the best
way i can.

If Referenced Cell (G9) matches another cell in table (B3:F40) then make
current cell (the one i am writing the formula in) equal to Row 4 of the
particula column where the match was found.

In essence i want it to find some data in a table and tell me the header of
the column where it was found.


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
Array formula SUMIF with 2D sum_range array Rich_84 Excel Worksheet Functions 3 April 3rd 09 10:46 PM
Array formula: how to join 2 ranges together to form one array? Rich_84 Excel Worksheet Functions 2 April 1st 09 06:38 PM
Find specific value in array of array formula DzednConfsd Excel Worksheet Functions 2 January 13th 09 06:19 AM
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM


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