jsymanowski
New Member
- Joined
- Jun 2, 2017
- Messages
- 1
Everyone,
I'm looking for a way to find data in a table based off of a date range (two user inputted dates). I have tried multiple ways (vlookup and index-match) but have been unsuccessful in my attempts. I was hoping to get some advice on here.
This is what I'm trying to do...
I have a table as listed below with the following data. This table is in the same workbook but in a different sheet.
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 73"]
<tbody>[TR]
[TD="class: xl65, width: 73"]Name[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 76"]
<tbody>[TR]
[TD="class: xl65, width: 76"]Identifier[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 69"]
<tbody>[TR]
[TD="class: xl65, width: 69"]Date[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 141"]
<tbody>[TR]
[TD="class: xl65, width: 141"]Water Production[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]Oil Production[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][FONT=Calibri, sans-serif]Ashton
[/FONT][/TD]
[TD]1000[/TD]
[TD]1/12/17[/TD]
[TD]10[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD]2000[/TD]
[TD]1/12/17[/TD]
[TD]150[/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]Alex[/TD]
[TD]3000[/TD]
[TD]1/12/17[/TD]
[TD]21[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD]2000[/TD]
[TD]2/21/17[/TD]
[TD]150[/TD]
[TD]23[/TD]
[/TR]
[TR]
[TD]Ashton[/TD]
[TD]1000[/TD]
[TD]2/12/17[/TD]
[TD]15[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Alex[/TD]
[TD]3000[/TD]
[TD]2/27/17[/TD]
[TD]20[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
I want to be able to search the name, by its identifier, to find the water production in between two dates. So...
[TABLE="width: 500"]
<tbody>[TR]
[TD]Beginning Date[/TD]
[TD]Ending Date[/TD]
[TD]Identifier[/TD]
[TD]Water Production[/TD]
[/TR]
[TR]
[TD]2/1/17[/TD]
[TD]3/1/17[/TD]
[TD]2000[/TD]
[TD]*I need this cell to result in 150[/TD]
[/TR]
</tbody>[/TABLE]
Please let me know if anyone can help me out.
Thanks!
I'm looking for a way to find data in a table based off of a date range (two user inputted dates). I have tried multiple ways (vlookup and index-match) but have been unsuccessful in my attempts. I was hoping to get some advice on here.
This is what I'm trying to do...
I have a table as listed below with the following data. This table is in the same workbook but in a different sheet.
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 73"]
<tbody>[TR]
[TD="class: xl65, width: 73"]Name[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 76"]
<tbody>[TR]
[TD="class: xl65, width: 76"]Identifier[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 69"]
<tbody>[TR]
[TD="class: xl65, width: 69"]Date[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 141"]
<tbody>[TR]
[TD="class: xl65, width: 141"]Water Production[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 110"]
<tbody>[TR]
[TD="class: xl65, width: 110"]Oil Production[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][FONT=Calibri, sans-serif]Ashton
[/FONT][/TD]
[TD]1000[/TD]
[TD]1/12/17[/TD]
[TD]10[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD]2000[/TD]
[TD]1/12/17[/TD]
[TD]150[/TD]
[TD]21[/TD]
[/TR]
[TR]
[TD]Alex[/TD]
[TD]3000[/TD]
[TD]1/12/17[/TD]
[TD]21[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD]2000[/TD]
[TD]2/21/17[/TD]
[TD]150[/TD]
[TD]23[/TD]
[/TR]
[TR]
[TD]Ashton[/TD]
[TD]1000[/TD]
[TD]2/12/17[/TD]
[TD]15[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Alex[/TD]
[TD]3000[/TD]
[TD]2/27/17[/TD]
[TD]20[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
I want to be able to search the name, by its identifier, to find the water production in between two dates. So...
[TABLE="width: 500"]
<tbody>[TR]
[TD]Beginning Date[/TD]
[TD]Ending Date[/TD]
[TD]Identifier[/TD]
[TD]Water Production[/TD]
[/TR]
[TR]
[TD]2/1/17[/TD]
[TD]3/1/17[/TD]
[TD]2000[/TD]
[TD]*I need this cell to result in 150[/TD]
[/TR]
</tbody>[/TABLE]
Please let me know if anyone can help me out.
Thanks!