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!
 

Excel Facts

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

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

Hope this will help
 
Upvote 0
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/e...table-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-Dashb...?s=digital-text&ie=UTF8&qid=1486600546&sr=1-3
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,388
Messages
6,119,226
Members
448,878
Latest member
Da9l87

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