Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Member
 
Posts: 47
Default COUNTIF or SUMIF

If you want to count how many times "apples" pops out on the list, you have to use this formula:

=countif(A2:A5, "apples")

There you'll be able to know how many apples there are, but if you want to know the total of the 2 numbers associated with "apples", we have"

=SUMIF(A2:B5,"apple",B2:B5)

There, you will find that there are 118 apples. By the way, I learned this from this website. You can check this out to learn more about sumif: https://www.efinancialmodels.com/kno...tion-in-excel/


Hope this helps
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Countif array function not working ub Excel Worksheet Functions 5 September 26th 07 03:39 PM
Countif not working c mateland Excel Worksheet Functions 3 September 3rd 07 02:46 AM
Newly created Get Function is not working when I copied the syntax from a working function CJ Excel Programming 1 January 16th 07 05:28 AM
Countif with nested function not working? jshuatree Excel Worksheet Functions 4 July 17th 06 10:48 PM
countif not working Nick Krill Excel Discussion (Misc queries) 4 June 24th 06 07:42 PM


All times are GMT +1. The time now is 04:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"