+ Reply to Thread
Results 1 to 6 of 6

SUMIFS returning #VALUE

  1. #1
    Registered User
    Join Date
    05-04-2006
    Posts
    39

    SUMIFS returning #VALUE

    Hello,

    I am attempting to do a sum with multiple criteria. I researched, input my formula and got #VALUE. I tried the wizard, got the same formula and got the same results.

    My formula is

    =SUMIFS(Tokens!F2:F10,Tokens!A2:A10,A16,Tokens!G2:G11,Tokens!I1)

    I believe my problem is the range Tokens!F2:F10 is a VLOOKUP that returns a number, but are not a number originally.

    As I am not fluent in Excel I am probably going the long way around to get my results. I have attached a sample spreadsheet for demonstration.



    Entries into the file will be logged on the Tokens tab and and calculated on the Overview tab. What I am attempting to do is make a formula that will deduct the points employees Redeem. This will be displayed in the Balance column of Overview. This will be tracked on Tokens tab in the Redeemed column.

    I am able to Count the points properly, so what I am trying to do is IF Redeemed = YES then Count Points to tally the points they redeemed

    I was then going to expand on that formula to do something like =SUM(Points-Redeemed) which would give me the balance.

    There is probably a better approach to this.

    Any help would be appreciated.

    Thanks!




    Q2 cert Tokens.xlsx
    Last edited by mglassco; 03-06-2013 at 06:41 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: SUMIFS returning #VALUE

    =SUMIFS(Tokens!F2:F10,Tokens!A2:A10,A16,Tokens!G2:G11,Tokens!I1)
    needs to be
    Tokens!G2:G10,
    all the ranges need to be the same size
    if the vlookup is returning a text number
    change it to
    =--vlookup(blah,range,2,false) or
    =vlookup(blah,range,2,false))+0 or
    =vlookup(blah,range,2,false)*1
    Last edited by martindwilson; 03-06-2013 at 06:41 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    05-04-2006
    Posts
    39

    Re: SUMIFS returning #VALUE

    Good to know! I did not know that and was going about it quickly. I'll report back.

    Thanks!

  4. #4
    Registered User
    Join Date
    05-04-2006
    Posts
    39

    Re: SUMIFS returning #VALUE

    Quote Originally Posted by martindwilson View Post
    =SUMIFS(Tokens!F2:F10,Tokens!A2:A10,A16,Tokens!G2:G11,Tokens!I1)
    needs to be
    Tokens!G2:G10,
    all the ranges need to be the same size
    Worked! Thank you!

  5. #5
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: SUMIFS returning #VALUE

    try this:
    Please Login or Register  to view this content.
    Array formula, use ctrl+shift+enter
    Click (*) if you received helpful response.

    Regards,
    David

  6. #6
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: SUMIFS returning #VALUE

    Fluent in Excel, LOL - that's a great way to put it

    Your problem is that the SUMIFS criteria ranges are different sizes - change them to match each other, and your #VALUE goes away,

    Hope this helps.


    EDIT: I took what I thought was a quick phonecall after starting my answer - I see you've since solved this.
    Last edited by BB1972; 03-06-2013 at 06:47 PM.
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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