Results 1 to 9 of 9

Excel 2007 : Wildcards in criteria for Sumif function

Threaded View

  1. #1
    Registered User
    Join Date
    11-30-2011
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2007
    Posts
    4

    Wildcards in criteria for Sumif function

    Dear All,

    my first post. I am revamping an excel spreadsheet that I inherited in my new position.

    I want to use Sumif to find account codes then sum all occurences of expenses under that given account code. The catch is that the account codes are four digits: e.g. 5314. I typically have groups of account codes that I would like to sum together: e.g. 5311, 5312, 5313, 5314.

    I created this function:

    =SUMIF('sheet1'!K14:K449;"531?";'sheet1'!S14:S449)

    using the question mark character ? as a wildcard for any of my codes that begin with 531.

    This does not work. It does not find and sum the occurences of the 531 codes. In my current data set there are two occurences of 5314 totalling 19,000Euros. If I replace 531? with 5314 for the criteria then I get the correct result.

    I guess my question is how to use a wildcard in this case and if it is possible.

    Thanks!
    Last edited by vlbdirector; 12-01-2011 at 01:11 PM.

Thread Information

Users Browsing this Thread

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

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