Matching two columns and pulling most common data from a third column?

aware073

Board Regular
Joined
Jun 5, 2015
Messages
54
Hey all, I am trying to come up with a formula to pull the data that matches from column A in this sheet..

Excel 2010
ABCDEF
1MaterialPlantMaterial DescriptionExt. Material GroupStorage BinValuated UnRes Stock
2200035M001SWITCHM11E0103BC1.000
3200037M001LOCKWASHER, M20 EXTERNALL19F0106DB1.000
4200040M001SEAL, WIRE (U/C# 187277) 0002697-0009M13D0803AC30.000
AEC


To all the same entries in column E in this sheet, and return the most common answer from column H. Basically I need to know which GL account (Sheet 2, H) the material number in sheet 1 column A is issued out as most frequently. Any suggestions??

Excel 2010
ABCDEFGH
1Co CodePlantMoveTypeMat. Doc.MaterialMaterial Desc.G/L AcctG/L Acct Name
28100M0012014900399047210683(R)CONTROLLER724150Maint-Supplies
38100M0012014900399047214879SPRING, LEAF THREE724150Maint-Supplies
48100M0012014900399181214663BEARING,PILLOW BLOCK, 10 IN. SAF056KAX10723180Belt-Belt Drives
58100M0012014900399545203407U-JOINT724150Maint-Supplies
MVMTS
 
Hey Eric, Sorry for the delay. This formula keeps freezing the whole spreadsheet everytime I drag it down. Any suggestions? Also it will need to return the first account found if none are used more than once. Thanks so much for your help.
 
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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