• 412K Members
• 6,673 Online
• 468K Conversations

New Contributor

# make total in one column if marked "X" in other column

Hello All,

How can I make a total of some amounts located in Column B if the lines are marked with "X" in column D ?

5 Replies
Highlighted

# Re: make total in one column if marked "X" in other column

You can use this formula:
=SUMPRODUCT(B:B*(D:D="x"))

# Re: make total in one column if marked "X" in other column

@Twifoo

Thanks you but it's not working :

# Re: make total in one column if marked "X" in other column

@valerie21 , second multiplier shall be inside SUMPRODUCT

`=SUMPRODUCT( E2:E23*(G2:G23="X")  )`

# Re: make total in one column if marked "X" in other column

@Sergei Baklan Thabnk you very much it's working now

# Re: make total in one column if marked "X" in other column

@valerie21 , you are welcome

Related Conversations
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Edge insider Dev bypasses IE mode website list
HotCakeX in Enterprise on
4 Replies