View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
zvkmpw zvkmpw is offline
external usenet poster
 
Posts: 153
Default Function to pull a single cell from a column into another cell

I
have a column of information that is being pulled from an adjacent
column where only 1 cell will have anything in it but 0. I need to pull
whatever cell in the columns information to a single cell somewhere
else.


Suppose B is the column with only 1 cell will have anything in it but 0.

Suppose A is the column to pull information from.

If the non-zero cell in column B is always a positive number, then try:
=INDEX(A:A,MATCH(MAX(B:B),B:B,0))