sumifs or sumproduct? (or none?)

samantavelho

New Member
Joined
Jan 16, 2014
Messages
6
Hi all,

I've been trying to find an answer to my problem, before bothering you, and I've already spent a few hours today browsing the treads here in the forum, but did not succeed to find a suitable answer

The thing is:

I need to have in (what wuld be in this case the cell) G2, the sum of id2 strk (column C) with strk behavior (column F), but only if id1 (for instance cell A2 1187876) is repeated in column A range, and if id2 (cell B2) is different from the value of the row I'm calculating (in this case different from 221497).

I've tried =sumifs(A:A=A2,B:B"<>"&B2,C:F) but didn't work.


bellow you can find the information.

id 1id 2id2 strkBR strkg+hstrk behaviorf+i if c=c & d <>d
11878762214971010
11009752525761011
15001122624302020
11009752525761011
11009752275111011
11009752525761011
11009752525761011
11009752525761011
11009752525761011
11009752525761011
11009752275111011
11806172237532020
9113302349662020
101126173972020

<tbody>
</tbody>

I would be very thankful if any of you could shed some light.

Warm Regards,
 
You're welcome. Glad that worked for you. Thanks for the feedback and welcome to the forum.
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,215,756
Messages
6,126,692
Members
449,330
Latest member
ThatGuyCap

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