Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
TUF TUF is offline
external usenet poster
 
Posts: 8
Default Find last entry in a row

HI,

I have rows of figures under monthly categories, i.e. Jan, Feb, Mar etc. . ,
there are empty cells within each row (approx 18 columns wide).

What I am trying to get is a formula that reads the last entry in the row
even if there are empty cells on either side of it

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Find last entry in a row

Are there any 0s in the range? Will the numbers always be positive numbers?

--
Biff
Microsoft Excel MVP


"TUF" wrote in message
...
HI,

I have rows of figures under monthly categories, i.e. Jan, Feb, Mar etc. .
,
there are empty cells within each row (approx 18 columns wide).

What I am trying to get is a formula that reads the last entry in the row
even if there are empty cells on either side of it

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
TUF TUF is offline
external usenet poster
 
Posts: 8
Default Find last entry in a row

There are no 0s but there are blank cells

Cheers

"T. Valko" wrote:

Are there any 0s in the range? Will the numbers always be positive numbers?

--
Biff
Microsoft Excel MVP


"TUF" wrote in message
...
HI,

I have rows of figures under monthly categories, i.e. Jan, Feb, Mar etc. .
,
there are empty cells within each row (approx 18 columns wide).

What I am trying to get is a formula that reads the last entry in the row
even if there are empty cells on either side of it

Thanks




  #4   Report Post  
Posted to microsoft.public.excel.misc
TUF TUF is offline
external usenet poster
 
Posts: 8
Default Find last entry in a row

Sorry I forgot to mention that there may be negative numbers infrequently.

Cheers

"TUF" wrote:

There are no 0s but there are blank cells

Cheers

"T. Valko" wrote:

Are there any 0s in the range? Will the numbers always be positive numbers?

--
Biff
Microsoft Excel MVP


"TUF" wrote in message
...
HI,

I have rows of figures under monthly categories, i.e. Jan, Feb, Mar etc. .
,
there are empty cells within each row (approx 18 columns wide).

What I am trying to get is a formula that reads the last entry in the row
even if there are empty cells on either side of it

Thanks




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Find last entry in a row

Try this:

=IF(COUNT(A1:R1),LOOKUP(1E100,A1:R1),"")

It'll return the rightmost number in the range. If no numbers are present
it'll return a blank.

--
Biff
Microsoft Excel MVP


"TUF" wrote in message
...
Sorry I forgot to mention that there may be negative numbers infrequently.

Cheers

"TUF" wrote:

There are no 0s but there are blank cells

Cheers

"T. Valko" wrote:

Are there any 0s in the range? Will the numbers always be positive
numbers?

--
Biff
Microsoft Excel MVP


"TUF" wrote in message
...
HI,

I have rows of figures under monthly categories, i.e. Jan, Feb, Mar
etc. .
,
there are empty cells within each row (approx 18 columns wide).

What I am trying to get is a formula that reads the last entry in the
row
even if there are empty cells on either side of it

Thanks







  #6   Report Post  
Posted to microsoft.public.excel.misc
TUF TUF is offline
external usenet poster
 
Posts: 8
Default Find last entry in a row

Thanks,

That's seems to have done the trick. Out of curiosity is there a left most
version?

Thanks again

"T. Valko" wrote:

Try this:

=IF(COUNT(A1:R1),LOOKUP(1E100,A1:R1),"")

It'll return the rightmost number in the range. If no numbers are present
it'll return a blank.

--
Biff
Microsoft Excel MVP


"TUF" wrote in message
...
Sorry I forgot to mention that there may be negative numbers infrequently.

Cheers

"TUF" wrote:

There are no 0s but there are blank cells

Cheers

"T. Valko" wrote:

Are there any 0s in the range? Will the numbers always be positive
numbers?

--
Biff
Microsoft Excel MVP


"TUF" wrote in message
...
HI,

I have rows of figures under monthly categories, i.e. Jan, Feb, Mar
etc. .
,
there are empty cells within each row (approx 18 columns wide).

What I am trying to get is a formula that reads the last entry in the
row
even if there are empty cells on either side of it

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
Possible sumproduct to find/sum the last entry in each row Sarah (OGI) Excel Worksheet Functions 2 April 22nd 08 09:52 AM
Formula doesn't find last entry caj Excel Discussion (Misc queries) 3 September 25th 06 07:34 PM
FIND THE LAST CELL ENTRY IN A ROW Carolyn Bennett Excel Worksheet Functions 7 January 18th 06 05:51 AM
FIND - Double entry Danny Excel Worksheet Functions 2 September 20th 05 08:05 PM
How do i use vlookup to find more than 1 entry Shaum Excel Worksheet Functions 3 March 18th 05 04:49 PM


All times are GMT +1. The time now is 11:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"