FlowersinExcel
New Member
- Joined
- Dec 6, 2019
- Messages
- 16
- Office Version
- 2016
- Platform
- Windows
Hi,
I am trying to write a formula that will let me search two big columns of information to spit out a unique value in a third column. I have a list of names, with many repeat names, a level of service provided, and then a start & end date for the dates of service, also with many repeat dates. So I need a formula that says, if the date and the person match, give me the level of service. The problem is that I'll get multiple values for dates and multiple values for names, but only one value where those coincide. I've tried nested IFs and AND formulas, and a LOOKUP formula {LOOKUP(2,1/(start<=date)*(end>=date),Service column)}, but I don't know how to make the lookup formula work with the IF formula since I want excel to find the match. Please help - any suggestions are appreciated.
Here's what I'm trying to do. Specifically, I'm trying to figure out the formula that I can spread across and down for Step 1.
I am trying to write a formula that will let me search two big columns of information to spit out a unique value in a third column. I have a list of names, with many repeat names, a level of service provided, and then a start & end date for the dates of service, also with many repeat dates. So I need a formula that says, if the date and the person match, give me the level of service. The problem is that I'll get multiple values for dates and multiple values for names, but only one value where those coincide. I've tried nested IFs and AND formulas, and a LOOKUP formula {LOOKUP(2,1/(start<=date)*(end>=date),Service column)}, but I don't know how to make the lookup formula work with the IF formula since I want excel to find the match. Please help - any suggestions are appreciated.
Here's what I'm trying to do. Specifically, I'm trying to figure out the formula that I can spread across and down for Step 1.