I've been attempting to find an answer on this but have not yet found something that specifically helps.
Situation:
I have two worksheets in an Excel file. In one worksheet, Worksheet: All, I have a list of every unique campaign advertisement put out by candidates during an election year. Column D has the name of the candidate who put out the ad, and column H has the total air time the ad played during the election:
In another worksheet, Worksheet: Governors, I have a list of each governor candidate in column D:
My goal is to sum up in column G the values in All!H for each candidate to get a total amount of airtime the candidate had. So, basically, I need to sum up every value of All!H for which All!D:D = Governor!D:D.
I attempt to put that into a SUMIF function:
=SUMIF(All!H:H,D:D=All!D:D)
but that gets me a 0 when I should be getting, for David Williams at least, 18360.