Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Formula not woring

Posted on 2013-06-25
3
Medium Priority
?
168 Views
Last Modified: 2013-06-25
I can't get the formula in line 14 to work.  I copied it from line another like, added the title from A14 onto the list, and entered data into the detail page.  It worked in the first column, so I dragged it out to the end of the year and it's only working in 2 other fields.

I don't get it, because I don't really understand the formula.Master-Budget-row-14.xlsm
0
Comment
Question by:mikecox_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
Steve earned 2000 total points
ID: 39276228
When copying the formula... do not drag it or the table column references will change...

To copy it sideways... right click... copy... then select the destination cell and right click paste special formula.

This will maintain the table refs.

The formula can also be shortened to:
=SUMIFS(tbl_Details[Amount],tbl_Details[Account],Master!$A14,tbl_Details[Date],">="&Master!C$1,tbl_Details[Date],"<="&EOMONTH(Master!C$1,0))

As using [ALL] just includes the header row too which is not necessary for the SUMIFS to Work

To understand the formula:
it will...
Sum up the column 'Amount' in table 'tbl_Details'
=SUMIFS(tbl_Details[Amount] ,
Where the column 'Account' in table 'tbl_Details'
tbl_Details[Account],
Equals the value of A14
$A14,
Where the column 'Date' in table 'tbl_Details'
tbl_Details[Date],
Is greater than or equal to C1
">="&C$1,
Where the column 'Date' in table 'tbl_Details'
tbl_Details[Date],
Is less than or equal to the end of month of the date in C1
"<="&EOMONTH(Master!C$1,0))
Master-Budget-row-14.xlsm
0
 

Author Closing Comment

by:mikecox_
ID: 39276359
Perfect!  Thanks for explaining the formula and for helping me understand why it wasn't working, and for fixing it for me!
0
 
LVL 24

Expert Comment

by:Steve
ID: 39276368
Always happy to help where we can :-)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question