Solved

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

Posted on 2011-09-14
9
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
9 Comments
 
LVL 50
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
ID: 36546286
My formula is different from yours. Have you tried it?
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 50
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:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 500 total points
ID: 36546342
see attached
Book3.xlsx
0
 
LVL 50
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

752 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