IF, sumif, sumproduct?

EAH

New Member
Joined
Nov 3, 2011
Messages
11
I am looking for a formula to go in column C of my second spreadsheet. I want it to find the numbers in column A of the second spreadsheet in column A of the first spreadsheet and then, if the corresponding cell in column C is greater than 0, to bring back a "Yes". I've tried using an IF, a sumif, a sumproduct, and none of them are working. Any ideas or suggestions would be appreciated!

Spreadsheet 1
A
B
C
1
156
Bill
1567
2
160
Joe
576
3
162
Mary
4
164
Ben
5
184
Will
50
6
188
Frank
686
7
201
Rob
1893
8
214
Paul
867
9
253
William
231
10
301
Sue
520
11
303
Pam
670
12
305
Jason
835
13
306
Gerry
Spreadsheet 2
A
B
C
1
156
Bill
2
160
Joe
3
184
Will
4
188
Frank
5
201
Rob

<tbody>
</tbody>
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Custom format the cell as "YES";; (with quotes) and then use:
=SUMPRODUCT(--(Sheet1!$A$1:$A$13=A1),--(Sheet1!$B$1:$B$13=B1),(Sheet1!$C$1:$C$13))
 
Upvote 0

Forum statistics

Threads
1,215,050
Messages
6,122,868
Members
449,097
Latest member
dbomb1414

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