Solved

Match Formula?

Posted on 2011-02-11
8
204 Views
Last Modified: 2012-05-11
Hi,

I have a row of data in column B, there may be data anywhere from B1-B10,000. Can i return to M1, M2, M3 etc any results.

The data in ColB will always be "Double Div"

So if theres an instance return it, i can guarantee this wont happen more than 50 times so i could drag down till then.

Ive attached the file

Thanks
Seamus

CP-Report.zip
0
Comment
Question by:Seamus2626
[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
  • 4
  • 2
  • 2
8 Comments
 
LVL 24

Expert Comment

by:StephenJR
ID: 34871608
Seamus - do you mean col A? Col B is empty. An instance of what - not clear what you are looking for?
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 34871614
What exactly do you want returned?
0
 
LVL 24

Expert Comment

by:StephenJR
ID: 34871641
OK, I think I see now. You want B37, B195 returned in M1, M2 etc?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 85

Accepted Solution

by:
Rory Archibald earned 250 total points
ID: 34871670
My best guess - in M7:
=IF(COUNTIF(INDEX(B:B,C7):INDEX(B:B,IF(C8="",65536,C8-1)),"Double Div")>0,"Double Div","")
and copy down.
0
 

Author Comment

by:Seamus2626
ID: 34871704
Sorry guys, i have to shoot, i will return first thing Mon Morning.

Thanks for the help

Seamus
0
 
LVL 24

Assisted Solution

by:StephenJR
StephenJR earned 250 total points
ID: 34871867
Perhaps this in M1 and down. An array formula so Ctrl+Shift+Enter:

=IF(ROWS(M$6:M6)<=COUNTIF($B$1:$B$1500,"Double Div"),"B" & SMALL(IF($B$1:$B$1500="Double Div",ROW($M$1:$M$1500)-ROW($M$1)+1),ROWS(M$6:M6)),"")
0
 
LVL 24

Expert Comment

by:StephenJR
ID: 34871877
Should be, in M6 and down.
0
 

Author Closing Comment

by:Seamus2626
ID: 34886665
Thanks lads, both worked perfectly!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

734 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