+ Reply to Thread
Results 1 to 10 of 10

SUMIFS ( one column which contains multiple *text* & * text*)

  1. #1
    Registered User
    Join Date
    03-22-2015
    Location
    Amsterdam
    MS-Off Ver
    2013
    Posts
    9

    SUMIFS ( one column which contains multiple *text* & * text*)

    Hi Guys,

    I cant seem to figure this one out. Looked at several solutions also on this forum but none work for me. Let me try to explain. It sounds so easy though but i cant seem to make it work

    A1 = *directory* (text) (constants which i can change)
    A2 = *10* (text)
    A3 = Rotterdam

    What i want is that it sums up the values of B column where C contains "directory" AND "10" AND D column contains "Rotterdam"

    outcome = B4 + B8 = 5 + 3 = 8

    I tried this already (i saw online they said use arrays but this gives me an error)

    excel2.jpg

    Could someone please help me out here? I want to make use of the changable constants (A1 and A2) because i have to do this scenario over with just a small change in values.
    Any help would be appreciated!

    Look at the excel below

    Find Excel here

    example2.xlsx
    Last edited by gkoow; 03-22-2015 at 10:42 AM. Reason: Saw that a table was more convienent

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,118

    Re: SUMIFS ( one column which contains multiple *text* & * text*)

    Can you post an Excel sheet? It's impossible to tell what values are in which cell!!
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    03-22-2015
    Location
    Amsterdam
    MS-Off Ver
    2013
    Posts
    9

    Re: SUMIFS ( one column which contains multiple *text* & * text*)

    I hope this helps I saw the table option a bit late...

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,118

    Re: SUMIFS ( one column which contains multiple *text* & * text*)

    Not really. It looks like there is no text in column B, just numbers.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    03-22-2015
    Location
    Amsterdam
    MS-Off Ver
    2013
    Posts
    9

    Re: SUMIFS ( one column which contains multiple *text* & * text*)

    Ive adjusted the picture and the text below. I hope this clarifies a bit for you sorry for the trouble
    Last edited by gkoow; 03-22-2015 at 07:54 AM.

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIFS ( one column which contains multiple *text* & * text*)

    This version should give you 8 on the attached workbook

    =SUMIFS(B4:B9,C4:C9,"*"&A2&"*",C4:C9,"*"&A3&"*")
    Audere est facere

  7. #7
    Registered User
    Join Date
    03-22-2015
    Location
    Amsterdam
    MS-Off Ver
    2013
    Posts
    9

    Re: SUMIFS ( one column which contains multiple *text* & * text*)

    Thanks Daddylonglegs!

    That works like a charm now ive expanded a column with adiddtinal criteria. This is the actual usecase ive been trying to achieve.

    =SUMIFS(B4:B9,C4:C9,"*"&A2&"*",C4:C9,"*"&A3&"*")

    I thought of extending it

    =SUMIFS(B4:B9,C4:C9,"*"&A2&"*",C4:C9,"*"&A3&"*", D4:D9,"*"&A4&"*")

    But this returns into an error do you have help with this?

  8. #8
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIFS ( one column which contains multiple *text* & * text*)

    That formula looks OK - I don't get an error - you shouldn't get errors with that unless you have some error values in the referenced ranges

    Edit: in your revised sheet I used this version to get the result 8

    =SUMIFS(B5:B10,C5:C10,"*"&A2&"*",C5:C10,"*"&A3&"*",D5:D10,"*"&A4&"*")
    Last edited by daddylonglegs; 03-22-2015 at 08:37 AM.

  9. #9
    Registered User
    Join Date
    03-22-2015
    Location
    Amsterdam
    MS-Off Ver
    2013
    Posts
    9

    Re: SUMIFS ( one column which contains multiple *text* & * text*)

    oh man... how stupid. my formula worked al along its the referenced ranged i just picked the whole column (D:D) that is too much THANKS ALOT daddylonglegs!!

  10. #10
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIFS ( one column which contains multiple *text* & * text*)

    You can use whole columns in SUMIFS, if you wish, but all ranges need to be the same size and shape, so if you use the whole column for one range you need to do the same with all of them.

+ 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. [SOLVED] Sumifs using multiple text criteria
    By chouston in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-14-2014, 11:39 AM
  2. [SOLVED] Multiple If/Then to search for text in a column and conditionally input different text
    By greenmug in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-11-2014, 02:19 PM
  3. [SOLVED] SumIfs with multiple criteria (search column for cells w/ text containing)
    By jerrydiaz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2013, 01:06 PM
  4. [SOLVED] Sumifs Finding two text in one column
    By zicktechnology in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2013, 04:17 AM
  5. [SOLVED] SumIf / SumIfs with multiple Contains Text criteria
    By theweirdone in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2012, 05: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