+ Reply to Thread
Results 1 to 4 of 4

SUMIF with multiple criteria, text and numerical

  1. #1
    Registered User
    Join Date
    09-12-2008
    Location
    Oregon
    Posts
    9

    SUMIF with multiple criteria, text and numerical

    I am having an issue doing a sumif with multiple criteria. I searched the forum and tried the sum(if function and sumproduct. I think I may be having an issue with one of the criteria being text and one being numerical.
    Here is what i have
    Worksheet 1 has unique records for customer. example ABA in column A (text)
    Worksheet 2 has multiple sales records for each customer and contains,
    column A=Customer (text), Column E=Sales revenue(dollars), and Column C=Year.
    I am trying to put the formula in the same row on worksheet 1 that will return total sales revenue by customer (found in worksheet 1 column A) for the year 2008.
    here is the latest formula I have tried to use
    Please Login or Register  to view this content.
    Thanks in advance for any help

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Unless you are using Excel 2007 then you can't use whole column ranges, I'd suggest SUMPRODUCT something like this, adjust ranges as necessary

    =SUMPRODUCT(--('customer ranking report.rpt'!A$1:A$100=A2),--('customer ranking report.rpt'!C$1:C$100=2008),'customer ranking report.rpt'!E$1:E$100)

  3. #3
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    radman:
    you formula is almost correct
    Just need a small modification
    Please Login or Register  to view this content.
    Press ctrl+shift +enter after keyin formula
    I need your support to add reputations if my solution works.


  4. #4
    Registered User
    Join Date
    09-12-2008
    Location
    Oregon
    Posts
    9

    Thanks

    Good morning,
    Thank you both for quick replies. I tried both formulas and the sumproduct one worked. I tried the sum(if formula and could not get it to work. I am using excel 2002, so maybe thats the problem with the sum(if method.
    Thanks again, this site is the best. All of you guys/ladies on this site make me look like a genius at work.
    hmmmmmmm...........Maybe I'll post a question here the next time I need some marital advice

+ 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. Replies: 2
    Last Post: 07-20-2008, 09:53 PM
  2. Assign text to a numerical range.
    By jaspercoGIS in forum Excel General
    Replies: 2
    Last Post: 01-18-2008, 03:46 PM
  3. Create a summary table from different text criteria
    By 247earnings in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-02-2007, 04:23 AM
  4. Text returning a numerical value
    By slinger1010 in forum Excel General
    Replies: 3
    Last Post: 11-14-2006, 08:24 AM
  5. Can I give text a numerical value?
    By rshane in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-27-2006, 01:34 PM

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