+ Reply to Thread
Results 1 to 15 of 15

SUMPRODUCT formula working on all but one worksheet

  1. #1
    Registered User
    Join Date
    10-03-2013
    Location
    Everett
    MS-Off Ver
    Excel 2011
    Posts
    7

    SUMPRODUCT formula working on all but one worksheet

    I created a template to break down monthly expenditures for an NGO I volunteer with. The data is on one worksheet and then I have a worksheet for each month with total expenditures. I copied and pasted the formulas and every month but August works fine. I am totally baffled by why August won't work since the formulas were copied and pasted with me only changing the section of the formula for the month. My guess is that something is different about the data entry for August, but no mater how much I look at it I can't figure out anything that is different than the other months. I am a very novice excel user and the answer would probably be obvious to someone who uses excel a lot so I'm asking for suggestions about what can be different about the data entry, or cell formatting that would cause the formula to not work. I don't get an error message, it just isn't calculating the data.
    Thanks!
    Heather

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: SUMPRODUCT formula working on all but one worksheet

    Hi Heather and welcome to the forum,

    "Won't work" has a lot of possible parts to it. Here are some things to try or look for:
    1. Is Calculate set to automatic or manual?
    2. Are there named ranges in the formula that doesn't work?
    3. What is the formula, exactly, that doesn't work?

    Posting a sample workbook that shows the problem is most likely the only way we can really diagnose the problem. You can submit a sample by clicking on "Go Advanced" and then on the Paper Clip Icon (if it shows) above the advanced message area.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    10-03-2013
    Location
    Everett
    MS-Off Ver
    Excel 2011
    Posts
    7

    Re: SUMPRODUCT formula working on all but one worksheet

    I am set to automatic and there are not any named ranges.
    I've attached the workbook, it is the August worksheet for the "outpatient data" that isn't computing.
    Thanks
    Attached Files Attached Files

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: SUMPRODUCT formula working on all but one worksheet

    Hi Heather,

    It looks like the person who entered Aug values didn't know about the formatting of cells and put the letters of HTG in front of the numbers. When they did this, it made the cells TEXT (value of zero) and not numbers. Excel is working correctly but it is fooling with our minds.

    Excel is working correctly but the data entry person wasn't entering numbers in August, they were entering text that is always equal to zero.

    If this doesn't make sense please reply. I also have a much better method of doing this problem, instead of using SumProducts...

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: SUMPRODUCT formula working on all but one worksheet

    All the values in columns D and E for August on Outpatient Data is TEXT Corrected file attached.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Registered User
    Join Date
    10-03-2013
    Location
    Everett
    MS-Off Ver
    Excel 2011
    Posts
    7

    Re: SUMPRODUCT formula working on all but one worksheet

    It does make sense, but I have checked the formatting on the cells a bunch of times thinking that was the problem, but when I look they show as "currency" which is what I attempted to change all the data to; so how do I change it? And what do you suggest as a better method, I'm certainly open to suggestions. I am a nurse that normally volunteers as such in Haiti with this organization, but I had to stop traveling due to being pregnant and somehow landed up doing this. We can't afford to hire someone to do the accounting so I'm attempting to consolidate about 10 people's worth of data entry, and I'm sure none of them know how to use excel, it's not something us medical people are good at
    Thank-you so much for your time, I really appreciate it!

  7. #7
    Registered User
    Join Date
    10-03-2013
    Location
    Everett
    MS-Off Ver
    Excel 2011
    Posts
    7

    Re: SUMPRODUCT formula working on all but one worksheet

    Thank-you so much for your help, I really appreciate it as will the rest of the volunteers and patients at our organization!

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: SUMPRODUCT formula working on all but one worksheet

    I selected the cells for August and did a search and replace. I searched for USD and replaced with nothing. Then I copied the formatting for the cells that I just did the search and replace on so that they would have the same cell formatting as the other cells in the column. I did the same thing for the column that is to the left of that column, replacing the prefix with nothing and then reformatting using the format painter. It worked well and the workbook that I uploaded has these changes.

  9. #9
    Registered User
    Join Date
    10-03-2013
    Location
    Everett
    MS-Off Ver
    Excel 2011
    Posts
    7

    Re: SUMPRODUCT formula working on all but one worksheet

    Thanks again everyone for the help, all is fixed and working. At first I thought you meant the formatting was text, not that there was literally text in the cells. I figured it was something obvious that I was staring right at but wasn't seeing!

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: SUMPRODUCT formula working on all but one worksheet

    Thanks for the feedback.

    Glad that you have the workbook working.

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: SUMPRODUCT formula working on all but one worksheet

    I found the workbook dreadfully slow so re-did the formulae to use SUMIFS instead of SUMPRODUCT. The speed increase on my computer is dramatic. See if it works for you.
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    10-03-2013
    Location
    Everett
    MS-Off Ver
    Excel 2011
    Posts
    7

    Re: SUMPRODUCT formula working on all but one worksheet

    Thank-you, I'll take a look at it!

  13. #13
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: SUMPRODUCT formula working on all but one worksheet

    Hi Heather,

    I'd do the problem like my attached. If you could get both In and Out Patient data in the same table you could produce all your answers by simply changing the month filter of a Pivot Table.

    If this is something you'd like to work with, I can fix it to automatically update based on new or changed data.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    10-03-2013
    Location
    Everett
    MS-Off Ver
    Excel 2011
    Posts
    7

    Re: SUMPRODUCT formula working on all but one worksheet

    That does look a lot easier, in the little I know about pivot tables I remember that they don't change when data is added, but is there an easy way to "refresh" the data or update it?

  15. #15
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: SUMPRODUCT formula working on all but one worksheet

    Hi Heather,

    I was worried that you didn't get the answers before. I'm busy this morning but can help later today. I need a little more information about what you really need and how many people are entering the data. There are several things that can help with this problem. I need to know if you are using a Mac or PC and if you can use VBA Macros. I need to know if you can do a Pivot Table instead of separate sheets. Would that be allowed? Look at your Private Messages for more directions.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sumproduct formula not working
    By cartica in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-20-2013, 11:19 AM
  2. SUMPRODUCT formula not working
    By KINNEY0201 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-28-2010, 12:26 PM
  3. SUMPRODUCT formula with COUNTIF not working
    By Trueman_86 in forum Excel General
    Replies: 2
    Last Post: 07-15-2010, 06:58 AM
  4. SUMPRODUCT across worksheet not working
    By bkatzman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-31-2010, 02:31 PM
  5. SumProduct Formula not working
    By jfwidt in forum Excel General
    Replies: 6
    Last Post: 02-03-2010, 05:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1