+ Reply to Thread
Results 1 to 6 of 6

Sumif function

  1. #1
    Registered User
    Join Date
    04-03-2015
    Location
    Ireland
    MS-Off Ver
    MS office 2010
    Posts
    3

    Sumif function

    Hi

    I have a list on one spreadsheet with a list of names and whether they paid by cash or cheque and then another column of the value of the cash/cheque.

    Joe Bloggs cash 100
    Billy Bloggs cheque 50
    Mary Bloggs cash 60

    On another spreadsheet, I would to calculate the value of all the cash or the cheque

    Cash 160
    Cheque 50

    Do I use the sumif function for this?

    Thanks

  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,150

    Re: Sumif function

    Yes - unless you want to separate Joe from Billy fromMary, in which case you need SUMIFS.

    If you don't..

    =sumif(C1:C3,"Cash") will give you the cash total... etc; assuing of course that the name, payment method and amount are in different columns.
    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
    04-03-2015
    Location
    Ireland
    MS-Off Ver
    MS office 2010
    Posts
    3

    Re: Sumif function

    Thanks for that.

    That is not working for me. What I want to do is get a formula for the total for the amount of cash and the total amount of cheques.

    person 1 Cash 100
    person 2 Cheque 150
    person 3 Cash 100
    person 4 Cheque 120
    person 5 cash 130


    total cash
    total cheque

  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,150

    Re: Sumif function

    You're right. I'm being VERY thick...

    =SUMIFS(C1:C5,B1:B5,"Cash")... or

    =SUMIF(B1:B5,"Cash",C1:C5)

  5. #5
    Registered User
    Join Date
    04-03-2015
    Location
    Ireland
    MS-Off Ver
    MS office 2010
    Posts
    3

    Re: Sumif function

    Thanks a million. That was the formula I was using all along, but it wouldn't work, but then I realised my C and B columns weren't the same. eg (C1:C7, B1:B4).

  6. #6
    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,150

    Re: Sumif function

    Ah welll.. we can all have our "off" days...

+ 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] How to nest a left function within a sumif function?
    By LisaK in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2017, 09:21 AM
  2. Replies: 4
    Last Post: 10-08-2013, 05:10 PM
  3. Sumif function using indirect function and data from different sheet
    By pronky007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2013, 12:40 PM
  4. [SOLVED] SUMIF Function Inside SUMPRODUCT Function
    By Abdul Waheed in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-19-2005, 12:05 PM
  5. Replies: 2
    Last Post: 01-11-2005, 07:06 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