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!
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!