Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default last value "greater than zero" in a range

Hi folks,

I have formulae in every other cell from F70:AB70. I'm looking for a
way to return the last value greater than zero contained in that
range. Can I do this without editing VBA?

Thanks for any assistance.

Troy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default last value "greater than zero" in a range

There is probably a simpler formula, but until someone posts it...

=INDEX(70:70,,SUMPRODUCT(MAX(COLUMN(F70:AB70)*(F70 :AB70<0)*(F70:AB70<""))))

Rick


"TSW632" wrote in message
...
Hi folks,

I have formulae in every other cell from F70:AB70. I'm looking for a
way to return the last value greater than zero contained in that
range. Can I do this without editing VBA?

Thanks for any assistance.

Troy


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default last value "greater than zero" in a range

=LOOKUP(2,1/(F70:AB700),F70:AB70)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"TSW632" wrote in message
...
Hi folks,

I have formulae in every other cell from F70:AB70. I'm looking for a
way to return the last value greater than zero contained in that
range. Can I do this without editing VBA?

Thanks for any assistance.

Troy



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default last value "greater than zero" in a range

On May 15, 11:47*am, "Bob Phillips" wrote:
=LOOKUP(2,1/(F70:AB700),F70:AB70)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"TSW632" wrote in message

...



Hi folks,


I have formulae in every other cell from F70:AB70. I'm looking for a
way to return the last value greater than zero contained in that
range. Can I do this without editing VBA?


Thanks for any assistance.


Troy- Hide quoted text -


- Show quoted text -


Awesome!!! They both work. Thanks Rick and Bob!
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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Array as a "named range" - formula ok in cells, but error as "named range" tskogstrom Excel Discussion (Misc queries) 11 December 28th 06 04:44 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
sort data rows "greater than or equal" criteria in another cell HV man Excel Worksheet Functions 0 March 26th 06 11:50 PM


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