Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how do i referance an adjacent cell from a search?

i have a table in excell, Column A is the Date of the flight, Column B is the
mode (day, night, NVG) and column C is the number of hours flown.

i need the formula to find the most recent date that i flew night in one
cell and in another cell i need to find the most recent date that i flew NVG.

can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default how do i referance an adjacent cell from a search?

=INDEX(A1:A30,MATCH(MAX(IF($B$1:$B$30="NVG",$A$1:$ A$30,0)),$A$1:$A$30,0))

insert and hit ctrl+shift+enter (array)

"UH-60 Crew Chief" skrev:

i have a table in excell, Column A is the Date of the flight, Column B is the
mode (day, night, NVG) and column C is the number of hours flown.

i need the formula to find the most recent date that i flew night in one
cell and in another cell i need to find the most recent date that i flew NVG.

can anyone help?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default how do i referance an adjacent cell from a search?

I tried this and in the formula arguement it works perfectly but in the
spread sheet it displays #value.

"excelent" wrote:

=INDEX(A1:A30,MATCH(MAX(IF($B$1:$B$30="NVG",$A$1:$ A$30,0)),$A$1:$A$30,0))

insert and hit ctrl+shift+enter (array)

"UH-60 Crew Chief" skrev:

i have a table in excell, Column A is the Date of the flight, Column B is the
mode (day, night, NVG) and column C is the number of hours flown.

i need the formula to find the most recent date that i flew night in one
cell and in another cell i need to find the most recent date that i flew NVG.

can anyone help?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default how do i referance an adjacent cell from a search?

Worked great in formula arguement box, but when i hit ctr-shift-enter it
gives the error "Array formulas are not valid in merged cells"

"excelent" wrote:

=INDEX(A1:A30,MATCH(MAX(IF($B$1:$B$30="NVG",$A$1:$ A$30,0)),$A$1:$A$30,0))

insert and hit ctrl+shift+enter (array)

"UH-60 Crew Chief" skrev:

i have a table in excell, Column A is the Date of the flight, Column B is the
mode (day, night, NVG) and column C is the number of hours flown.

i need the formula to find the most recent date that i flew night in one
cell and in another cell i need to find the most recent date that i flew NVG.

can anyone help?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default how do i referance an adjacent cell from a search?

Get rid of the merged cells.

One more reason not to use merged cells............one I never ran across
before.

I'll add it to the long list of problems caused by these.


Gord Dibben MS Excel MVP

On Fri, 18 May 2007 06:57:01 -0700, UH-60 Crew Chief
wrote:

Worked great in formula arguement box, but when i hit ctr-shift-enter it
gives the error "Array formulas are not valid in merged cells"

"excelent" wrote:

=INDEX(A1:A30,MATCH(MAX(IF($B$1:$B$30="NVG",$A$1:$ A$30,0)),$A$1:$A$30,0))

insert and hit ctrl+shift+enter (array)

"UH-60 Crew Chief" skrev:

i have a table in excell, Column A is the Date of the flight, Column B is the
mode (day, night, NVG) and column C is the number of hours flown.

i need the formula to find the most recent date that i flew night in one
cell and in another cell i need to find the most recent date that i flew NVG.

can anyone help?


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
Changing a cell referance on multipule cells CES Excel Worksheet Functions 3 March 16th 06 06:55 PM
HOW DO I CREATE LISTS WITH CELL REFERANCE RULES luke013 Excel Worksheet Functions 3 August 31st 05 01:32 PM
Change cell referance based on value Pat Excel Worksheet Functions 2 May 3rd 05 10:05 PM
Formula that referance a Cell MESTRELLA29 Excel Discussion (Misc queries) 1 February 10th 05 11:18 PM
Cell referance for formula ParTeeGolfer Excel Worksheet Functions 2 January 1st 05 01:01 AM


All times are GMT +1. The time now is 02:15 AM.

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"