Solved

How can I bring back the last true value between two ranges?

Posted on 2011-09-14
9
194 Views
Last Modified: 2012-08-14
This bring back the first, I now would like to bring back the last
=INDEX(E22:J22,MATCH(1,INDEX((COUNTIF($R$2:$R$17,E22:J22)>0)+0,0),0))
0
Comment
Question by:syeager305
  • 5
9 Comments
 
LVL 50

Expert Comment

by:teylyn
ID: 36539679
Hello,

like this:

=INDEX(E22:J22,MATCH(1,INDEX((COUNTIF($R$2:$R$17,E22:J22)>0)+0,0),1))

cheers, teylyn
0
 
LVL 5

Author Comment

by:syeager305
ID: 36546069
That what I'm already doing
112113

2
0
0
0
3

If I was looking for a true value it would be the last true value, not the first.  In this case it would be 3
0
 
LVL 50

Expert Comment

by:teylyn
ID: 36546286
My formula is different from yours. Have you tried it?
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 50

Expert Comment

by:teylyn
ID: 36546339
It might help to see your data. This one also works in my tests

=INDEX(E22:J22,MATCH(2,INDEX((COUNTIF($R$2:$R$17,E22:J22)>0)+0,0),1))
0
 
LVL 50

Accepted Solution

by:
teylyn earned 500 total points
ID: 36546342
see attached
Book3.xlsx
0
 
LVL 50

Expert Comment

by:teylyn
ID: 37049094
The formula I suggested works, as is demonstrated in the file attached in comment 36546342.
Suggest to accept that as the solution.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 37144343
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now