• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 41
  • Last Modified:

Excel Formula - Add if three conditions are meet.

I have an Excel workbook with a tab named "EPAdjustments" and a tab named "2015 TrialBalance". I need a fomula in 2015 TrialBalance cell G14. The formula should return the sum of Column G in EPAAdjustments if 1) column B in EPAdjsutments is equal to 2015 TrialBalance cell $F$2 2) EPAAdjustments column F is equal to 2015 TrialBalance Cell $A$14 and 3)  the name in EPAdjustments column C is equal to the name in 2015 TrialBalance cell G56. Do you have a formula that can do this? Attached is a sample of the data.

Thank you.

  • 2
2 Solutions
ConernestoAuthor Commented:
I will be copying the formula across for other companies that meet the criteria on my 2015 TrialBalance.
Ejgil HedegaardCommented:
Use this in G14 and copy across

Open in new window

NorieVBA ExpertCommented:
There are some problems with your data, mainly that various columns, e.g. column B and G, on EP Adjustments are actually text.

You can convert those columns to 'real' numbers like this.

1 Select the column.

2 Goto Data>Text to columns...

3 Click Finish.

Once you've done that this formula should work.

=SUMIFS(EPAdjustments!$G2:$G200,EPAdjustments!$B2:$B200,'2015 TrialBalance'!$F$2,EPAdjustments!$F2:$F200,'2015 TrialBalance'!$A$14,EPAdjustments!$C2:$C200,H56)
ConernestoAuthor Commented:
Thank you very much for your help with this formula.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now