Vlookup/Index/Match/Offset

adnuta1

New Member
Joined
Jul 27, 2011
Messages
3
Hello All, 1st Post!!



I Have a data set with multiple tables that are each formatted for dates, a name and a count function, all pulled from access. Below is an example of a portion of one table.



5/22/2015HP3
5/22/2015Blue Line Drilling2
5/22/2015TDG.cn1
5/22/2015Ruff Drilling1
5/22/2015MCG Drilling & Completing1
5/22/2015J-W Energy Company1
5/22/2015Felderhoff Brothers Drilling1
5/22/2015Double K Drilling1
5/15/2015TDG.cn1
5/15/2015Ruff Drilling1
5/15/2015MCG Drilling & Completing1
5/15/2015J-W Energy Company1

<tbody>
</tbody>

<tbody>
</tbody>
In a separate tab I'd like to create a table that pulls the largest count number for a specific date (cell reference) and then in a separate column the corresponding name and then repeating for the 2nd largest value and so on. Could anyone please advise? I am trying to avoid adding helper columns that ranks the count. Please let me know if additional details are needed.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hello Adnuta1!

You can try this, assuming the dates are sorted.


Excel 2010
ABCDEFG
15/22/2015HP35/22/20153
25/22/2015Blue Line Drilling25/15/20152
35/22/2015TDG.cn1
45/22/2015Ruff Drilling1
55/22/2015MCG Drilling & Completing1
65/22/2015J-W Energy Company1
75/22/2015Felderhoff Brothers Drilling1
85/22/2015Double K Drilling1
95/15/2015TDG.cn1
105/15/2015Ruff Drilling1
115/15/2015MCG Drilling & Completing1
125/15/2015J-W Energy Company2
Sheet3
Cell Formulas
RangeFormula
G1=LARGE(OFFSET(INDIRECT(ADDRESS(MATCH(F1,$A$1:$A$12,0),3)),,,COUNT(F1,$A$1:$A$12),),1)


Luke
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,738
Members
448,988
Latest member
BB_Unlv

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top