Excel VBA Course
Excel VBA Course - From Beginner to Expert

200+ Video Lessons
50+ Hours of Video
200+ Excel Guides

Become a master of VBA and Macros in Excel and learn how to automate all of your tasks in Excel with this online course. (No VBA experience required.)

View Course

Sumifs

0

Hi,

I am trying to practice the sumifs function on certain data. I need to calculate the Profit from one of table (Table-B) by using the SUMIFS function. The table contains  Date, region, Sales Rep, Customer, product, COGS & Sales. I need to calculate Profit(Sales-COGS) without creating an additional column Profit in Table B.

I have attached the file & highlighted (in yellow) the section in which result is to be displayed. Can you help me out in the calculation?

Answer
Discuss

Discussion

You haven't select answers to your two previous questions, which you mention were answered. Go back to them and click the "Select Answer" button next to the correct answer. Then, you will get help here. Please read the rules!!!
don (rep: 1989) Sep 7, '16 at 3:06 pm
Add to Discussion

Answers

0

Try this formula:

=SUMIFS(V5:V2003,T5:T2003,I27,Q5:Q2003,J26)-sumifs(U5:U2003,T5:T2003,I27,Q5:Q2003,J26)

This should work for cell J27 and you can update it from there to work with the other cells.

(on a side note, you really need to learn this and not just have someone else do your homework for you... this is basic stuff!!!)

Discuss


Answer the Question

You must create an account to use the forum. Create an Account or Login