Beyond my skill

J8888PX

New Member
Joined
Feb 10, 2019
Messages
2
Hi all,

I need some help with a complex function.

I am looking for bipartisanship in legislative bills. I have:

column A, Legislators name
column B, Party affiliation for legislator
column C, Sponsor names of an individual bill

An example:
For legislator Wilkins, a Democrat, I want to know if any bills he sponsored were also cosponsored by any republicans.

So the excel function should identify wilkins name in column C, identify other names in the column C cell associated with Wilkins, find those associated legislators within column A, and then match that to column B. If there are republicans associated with the bill, then that bill should count as bipartisan.

Thus if Wilkins sponsored 5 bills, I want to know how many of those bills were also sponsored by Republicans.

I open to changing how many and whats in each column but I have thousands of bills to review... any help automating would be VERY helpful.

I've tried VLOOKUP, COUNTIF, IF, MATCH, SUMPRODUCT, and various combinations without success.

Thank you again!
 

James006

Well-known Member
Joined
Apr 4, 2009
Messages
3,680
Hi,

You should make your life a lot easier ... and Insert a Pivot Table ... :wink:

Hope this will help
 

J8888PX

New Member
Joined
Feb 10, 2019
Messages
2
Hi,

You should make your life a lot easier ... and Insert a Pivot Table ... :wink:

Hope this will help
Thanks James... unfortunately I don't know pivot tables. Not something I've ever needed before.
 

hiker95

Well-known Member
Joined
Apr 8, 2009
Messages
17,647
J8888PX,

Welcome to the MrExcel forum.

See if any of the following links will help you:

Pivot Intro
http://peltiertech.com/Excel/Pivots/pivotstart.htm

Office 2010 Class #36 : Excel PivotTables Pivot Tables 15 examples (Data Analysis) - YouTube

http://www.youtube.com/watch?v=qMGILHiLqr0

Getting Started with Pivot Tables

http://www.contextures.com/xlPivot01.html#Start

Overview of PivotTable and PivotChart reports
http://office.microsoft.com/en-gb/excel-help/overview-of-pivottable-and-pivotchart-reports-HP010342752.aspx

Build a Pivot Table in Excel VBA
http://www.brainbell.com/tutorials/Excel_VBA/Build_A_Pivot_Table_In_Excel_VBA.html

Excel 2013 PowerPivot Basics #01 : Introduction To PowerPivot for Excel 2013 - YouTube

To create my Dashboard I use this small ebook: Create a Dashboard using PivotTable - Roger F. Silva
https://www.amazon.com/Create-Dashboard-using-PivotTable-Excel-ebook/dp/B01EO923M0/ref=sr_1_3?s=digital-text&ie=UTF8&qid=1486600546&sr=1-3
 
Last edited:

Forum statistics

Threads
1,082,297
Messages
5,364,370
Members
400,792
Latest member
Dxmiian

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top