+ Reply to Thread
Results 1 to 15 of 15

Sumif concatenated criteria does not work in one tab, but works in all others

  1. #1
    Registered User
    Join Date
    11-06-2020
    Location
    Boston, MA
    MS-Off Ver
    Excel for Mac, 365 Subscription
    Posts
    6

    Sumif concatenated criteria does not work in one tab, but works in all others

    I have encountered a problem with a sumif formula that I have never seen before. I created the formula on Tab A, using data on tab A, and
    I get 0 as a result. However, when I recreate the formula on Tab B (referencing the data on Tab A), it works. What is really strange is
    that if I take the formula from Tab B and cut and paste it into Tab A, it no longer works, but I can cut and paste the formula from Tab A
    to any other tab and it works. The problem is with the criteria. The criteria I want to use is
    "<" & A2
    If I change it to "<10" it works. The value in A2 is 10.

    I have been using spreadsheets for over 30 years, and this is the strangest problem I have ever seen, and the first time I have ever gone to a
    forum for help. Any ideas would be greatly appreciated.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,461

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    Is A2 value? try to test it with: =isnumber(A2)
    If it is text try "<"&A2+0
    or "<"&VALUE(A2)
    Quang PT

  3. #3
    Registered User
    Join Date
    11-06-2020
    Location
    Boston, MA
    MS-Off Ver
    Excel for Mac, 365 Subscription
    Posts
    6

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    It is definitely a value. That was the first thing I checked.

    It is so odd that the formula (using the same range, criteria, and sum range) works in all tabs but one.

    Also, last night I did a test by copying the entire Tab A to a new Tab C, and the formula works in Tab C. Very strange. Unfortunately,
    it would be a major effort to transition all the links into Tab A over to Tab C, so I'm still trying to fix the problem. Also, I would
    just like to know what the problem is.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,483

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    Sounds like you might have a circular reference.

  6. #6
    Registered User
    Join Date
    11-06-2020
    Location
    Boston, MA
    MS-Off Ver
    Excel for Mac, 365 Subscription
    Posts
    6

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    I have attempted to attach a file which shows the problem. Note that the sumif formula on Tab A (cell A1) is exactly the same formula on
    Tab B, but B gives the correct result and A gives 0. If you open the Formula Builder it is showing #VALUE! for criteria.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-06-2020
    Location
    Boston, MA
    MS-Off Ver
    Excel for Mac, 365 Subscription
    Posts
    6

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    Definitely not a circular reference.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    Definitely something odd going on. I can only think that the sheet has been corrupted in some way.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,483

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    Very odd!

    It works without the "<"& ...

  10. #10
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    I opened the document with LibreOffice, results were OK. (posted sheets is xls)
    Then saved as an xlsx file and it works. Am I missing something ?
    Attached Files Attached Files

  11. #11
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,461

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    Not sure what Lotus is, but uncheck this box then it works.

    (P/S: It is from huuthang_bd in our local Excel help forum. Tks)
    Attached Images Attached Images

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,483

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    Lotus is (was) an office application that included a spreadsheet app. I had Lotus Works (I think) on my very first PC, and it worked in DOS, not Windows. Good spot!

  13. #13
    Registered User
    Join Date
    11-06-2020
    Location
    Boston, MA
    MS-Off Ver
    Excel for Mac, 365 Subscription
    Posts
    6

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    OK, I'm impressed. I had never seen "Transition formula evaluation", but unchecking the box fixed the problem. I never would have
    found that myself. Kudos to bebo021999.

    Based on this solution I did some research, and the problem seems due to the original version of this spreadsheet. The original version
    goes all the back to about 1990, and was created in Lotus 1-2-3. It is a budget file that I have updated every year since then.
    Some time in the late 1990s I switched from Lotus to Excel by just opening the Lotus file in Excel and saving it as a .xls file.
    I've never had a conversion problem with it until now. I still don't know exactly why the formula doesn't work with the box checked,
    but when users have a problem with a formula working in one tab but not another, when the formula is exactly the same, it is certainly
    worth asking if the original version of the file was created in Lotus.

    As an aside, I had to smile at you youngsters who don't know what Lotus was. Lotus 1-2-3 was the de facto standard for spreadsheets until
    Excel supplanted it in the mid 90s. I first saw it in 1984 and it changed my life.

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,483

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  15. #15
    Registered User
    Join Date
    09-27-2021
    Location
    Chicago, IL
    MS-Off Ver
    Excel 1902
    Posts
    1

    Re: Sumif concatenated criteria does not work in one tab, but works in all others

    Hi All - I know this has already been solved, but I just want to say that the same issue has been plaguing me for days and this solution fixed it. Thank you!

+ 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. A SUMIF replacement to use with non concatenated cells as ranges
    By lord anubis in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-18-2018, 01:25 AM
  2. [SOLVED] SUMIF a CONCATENATED range
    By Lardboy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-15-2017, 10:47 AM
  3. Single Criteria Index Match with concatenated criteria NOT WORKING
    By hassanleo1987 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 04-26-2017, 12:28 AM
  4. Application.worksheetfunction.Match doesn't work with Concatenated Ranges
    By Ricardo Gomes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2013, 07:19 AM
  5. How to SUM using some odd criteria? SUMIFS or SUMIF will not work...
    By joaolopes in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-17-2013, 01:12 PM
  6. vba to Match concatenated values in concatenated columns
    By bjurick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2012, 03:45 PM
  7. it works, it doesn work, its works....and so on.
    By Naz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-30-2005, 09:05 AM

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