+ Reply to Thread
Results 1 to 29 of 29

If cell has numbers and specific text, sum numbers with multiple criteria

Hybrid View

  1. #1
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,919

    Re: If cell has numbers and specific text, sum numbers with multiple criteria

    To try to answer the question I think you are asking: in your version of Excel, an array formula will not be recognised automatically, so you have to tell Excel how to process it by entering it with CTRL+SHIFT+ENTER. If you don't only the top row of each array will be processed, not the whole array, and this will lead either to error messages or the wrong result (or, just occasionally, the right result by chance).

    In newer versions you don't have to prompt Excel: it makes a decent job of working out what needs to be treated as an array formula or not.

    To see the difference, enter an array formula WITHOUT CTRL+SHIFT+ENTER and then run it through Evaluate Formula (limit the size of the arrays in the test data to see what's happening more easily). Now run the same formula through having entered it correctly. You should see and hopefully understand a significant difference in behaviour.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  2. #2
    Registered User
    Join Date
    05-25-2022
    Location
    adelaide
    MS-Off Ver
    2016
    Posts
    34

    Re: If cell has numbers and specific text, sum numbers with multiple criteria

    @AliGW

    Okay thanks, this makes more sense. I didn't even know the evaluate function existed so I'm learning!
    I must of just got lucky with some of my other formulas with arrays that worked

    So essentially anytime I'm entering a formula with an array (i.e not just the 1 row), because of my early version of excel, I need to use CTRL+SHIFT+ENTER for it to analyse that array correctly?
    Last edited by AliGW; 05-31-2022 at 05:37 AM. Reason: PLEASE don't quote unnecessarily!

+ 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. Find specific Numbers in a cell with a lot of text
    By luca.pe in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 05-13-2022, 04:52 AM
  2. Multiple criteria for Conditional Formatiing with numbers and text
    By Bdubsard in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-20-2022, 10:23 AM
  3. [SOLVED] Extract the text and numbers basis on specific numbers included
    By Neilesh Kumar in forum Excel General
    Replies: 6
    Last Post: 08-26-2018, 01:34 PM
  4. [SOLVED] Summation of Numbers with Text & Numbers in Multiple Cells with Multiple Criteria...
    By e4excel in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 09-14-2017, 01:46 PM
  5. [SOLVED] Average of specific cells with numbers determined by multiple criteria
    By holycrapitsaduck in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 07-27-2016, 10:40 AM
  6. [SOLVED] Add numbers based on criteria from specific cell on same row
    By nitreb in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-21-2013, 05:13 PM
  7. [SOLVED] How to change numbers to negative numbers specific with a text
    By Patnaik in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-11-2012, 07:22 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