Hi All,
How do I convert this formula to find the value of the last cell with value in a range.
See attached for a examples and results I'm after. Book1.xlsxPlease Login or Register to view this content.
Thanks!
Hi All,
How do I convert this formula to find the value of the last cell with value in a range.
See attached for a examples and results I'm after. Book1.xlsxPlease Login or Register to view this content.
Thanks!
Last edited by smartbuyer; 12-03-2013 at 03:37 AM.
maybe this one
=INDEX(G2:G11,MATCH(9.99999999999999E+307,H2:H11))
why not use iferror instead of isna
also array
=iferror(INDEX(A2:A11,MATCH(1,IF(B2:B11<>0,IF(B2:B11<>"",1)),0)),"")
Edit: Or non array
=INDEX(A2:A11,MATCH(TRUE,INDEX(ISNUMBER(B2:B11),0),0))
Last edited by vlady; 12-03-2013 at 03:44 AM.
I think people forget the word "THANK YOU!!!!" Do you still know it???
There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "
Regards,
Vladimir
hi there. try:
=LOOKUP(2,1/(B2:B11<>0),A2:A11)
like what vlady mentioned; to counter errors in Excel 2007 & above, you could actually use IFERROR.
=IFERROR(LOOKUP(2,1/(B2:B11<>0),A2:A11),"")
if you need it to work in lower versions, then continue to use ISNA
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks