Solved

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

Posted on 2014-03-28
5
266 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

733 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