Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

sumproduct with or function

Forum home » Delegate support and help forum » Microsoft Excel Training and help » SUMPRODUCT WITH OR function

SUMPRODUCT WITH OR function

ResolvedVersion 2010

Rod has attended:
Excel Advanced course

SUMPRODUCT WITH OR function

Hi,
Can you advise how I amend the formula below so that the calculation performs if C3:C1000 is either "Brent" or "Gasoil".

=SUMPRODUCT(($C3:$C1000="Brent")*($E3:$E1000="16/17")*H3:H1000,$T3:$T1000)

RE: SUMPRODUCT WITH OR function

Hi Rod,


Thank you for the forum question.

Try:

=SUMPRODUCT((($C3:$C1000="Brent")+($c3:$C1000="Gasoil"))*($E3:$E1000="16/17")*H3:H1000,$T3:$T1000)


Please ley me know if this work.


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: SUMPRODUCT WITH OR function

Hi,
That works! Thanks for your help.

Rod

 

Training courses

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Copying the same value, label or formula quickly into a range of selected cells.

Select your range of cells. Type the value, label or formula that you want to appear in all the selected cells and then press Ctrl+Enter.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.