Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
NHH NHH is offline
external usenet poster
 
Posts: 5
Default how can I return the value of the first not null cell in a column

I need a formula to help return the value of the first not null cell in a
column, I know the formula that returns the same but in the last not null
cell in a column (LOOKUP(99^99,Sheet1!A:A)), but I need the first not the last

Thank you for your help


  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how can I return the value of the first not null cell in a column

One way, array-entered* in say, B1:
=INDEX(A1:A100,MATCH(TRUE,A1:A100<"",0))

*press CTRL+SHIFT+ENTER to confirm the formula
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
---
"NHH" wrote:
I need a formula to help return the value of the first not null cell in a
column, I know the formula that returns the same but in the last not null
cell in a column (LOOKUP(99^99,Sheet1!A:A)), but I need the first not the last

Thank you for your help


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default how can I return the value of the first not null cell in a column

From your formula I guess you may be trying to find the first number. Try
this array entered.

=INDEX(A1:A1000,MATCH(TRUE,ISNUMBER(A1:A1000),0))

Mike

"NHH" wrote:

I need a formula to help return the value of the first not null cell in a
column, I know the formula that returns the same but in the last not null
cell in a column (LOOKUP(99^99,Sheet1!A:A)), but I need the first not the last

Thank you for your help


  #4   Report Post  
Posted to microsoft.public.excel.misc
NHH NHH is offline
external usenet poster
 
Posts: 5
Default how can I return the value of the first not null cell in a col

Dear Max,

Thank you for your reply.

Regret to inform you that your formula returned an error "#VALUE!", it
didn't work out. Sorry.

Looking for your further effort to help me in this issue.

Best Regards,

NHH

"Max" wrote:

One way, array-entered* in say, B1:
=INDEX(A1:A100,MATCH(TRUE,A1:A100<"",0))

*press CTRL+SHIFT+ENTER to confirm the formula
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
---
"NHH" wrote:
I need a formula to help return the value of the first not null cell in a
column, I know the formula that returns the same but in the last not null
cell in a column (LOOKUP(99^99,Sheet1!A:A)), but I need the first not the last

Thank you for your help


  #5   Report Post  
Posted to microsoft.public.excel.misc
NHH NHH is offline
external usenet poster
 
Posts: 5
Default how can I return the value of the first not null cell in a col

Dear Mike H,

Thank you for your reply.

Regret to inform you that your formula returned an error "N/A". Id didn't
work out. Sorry.

Looking for your futher effort to help me in this issue.

Best Regards,

NHH


"Mike H" wrote:

From your formula I guess you may be trying to find the first number. Try
this array entered.

=INDEX(A1:A1000,MATCH(TRUE,ISNUMBER(A1:A1000),0))

Mike

"NHH" wrote:

I need a formula to help return the value of the first not null cell in a
column, I know the formula that returns the same but in the last not null
cell in a column (LOOKUP(99^99,Sheet1!A:A)), but I need the first not the last

Thank you for your help




  #6   Report Post  
Posted to microsoft.public.excel.misc
NHH NHH is offline
external usenet poster
 
Posts: 5
Default how can I return the value of the first not null cell in a col

Hi again,

Sorry, your formula did work when I pressed F2, ctrl+shift+enter

Thank you very much.

Best Regards,

NHH

"Max" wrote:

One way, array-entered* in say, B1:
=INDEX(A1:A100,MATCH(TRUE,A1:A100<"",0))

*press CTRL+SHIFT+ENTER to confirm the formula
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
---
"NHH" wrote:
I need a formula to help return the value of the first not null cell in a
column, I know the formula that returns the same but in the last not null
cell in a column (LOOKUP(99^99,Sheet1!A:A)), but I need the first not the last

Thank you for your help


  #7   Report Post  
Posted to microsoft.public.excel.misc
NHH NHH is offline
external usenet poster
 
Posts: 5
Default how can I return the value of the first not null cell in a col

Dear Mike H,

Sorry, your formula did work out when I pressed F2, ctrl+shift+enter on the
array formula.

Thanks a lot.

Best Regards,


NHH

"Mike H" wrote:

From your formula I guess you may be trying to find the first number. Try
this array entered.

=INDEX(A1:A1000,MATCH(TRUE,ISNUMBER(A1:A1000),0))

Mike

"NHH" wrote:

I need a formula to help return the value of the first not null cell in a
column, I know the formula that returns the same but in the last not null
cell in a column (LOOKUP(99^99,Sheet1!A:A)), but I need the first not the last

Thank you for your help


  #8   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how can I return the value of the first not null cell in a col

Sorry, your formula did work when I pressed F2, ctrl+shift+enter
Glad you got it working fine over there
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
---


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
Return null Karen Excel Worksheet Functions 3 June 11th 08 08:43 AM
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
Have DGET return Null instead of #Value! matthoffman33 Excel Worksheet Functions 3 May 6th 06 02:21 AM
Cell to return null instead of 0 dford Excel Discussion (Misc queries) 7 November 28th 05 06:37 PM
return a " " for null values David# Excel Worksheet Functions 2 January 21st 05 06:47 PM


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