Solved

Locate a number in a named range and return date in the adjoining cell.

Posted on 2014-03-28
5
261 Views
Last Modified: 2014-03-28
I need to find out when a "filing_batch" was created.  
In the attachment, I need to insert a date in column F based on the filing_batch number in column E.  The table that contains the anser is on worksheet2.

So, for rows 2 through rows 323, the date that should be returned is 2/1/2014, etc.
Claims-Summary-by-Billing-Specia.xls
0
Comment
Question by:klitton7
5 Comments
 
LVL 39

Expert Comment

by:nutsch
ID: 39962118
If you can sort your worksheet2 on column A, you can use this:

=VLOOKUP(E2,Worksheet2!$A$2:$C$31,3)
0
 
LVL 1

Expert Comment

by:fb1990
ID: 39962217
Is this what you are looking for?
Claims-Summary-by-Billing-Specia.xls
0
 

Author Comment

by:klitton7
ID: 39962321
I didn't word my question properly it seems...

Every row on Worksheet1 that has data should have a date in column F.  There should be dates all the way through row 6655

So worksheet1,  F22 should return date 2/1/2014 because the filing_batch number 39009 falls inbetween the range of numbers A2-B2 on Worksheet2.

Actually 2/1/2014 would post all the way through row 323.  Then 2/3/2014 will post from row 324 through 1389, etc.
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 39962670
Try this formula in F2 copied down

=LOOKUP(2,1/(E2>=Worksheet2!A$2:A$31)/(E2<=Worksheet2!B$2:B$31),Worksheet2!C$2:C$31)

see attached

regards, barry
Claims-Summary-by-Billing-Specia.xls
0
 

Author Closing Comment

by:klitton7
ID: 39962707
Perfect!  Thanks Barry
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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…

910 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

18 Experts available now in Live!

Get 1:1 Help Now