+ Reply to Thread
Results 1 to 6 of 6

Number of records depending on two conditions

  1. #1
    Registered User
    Join Date
    09-17-2008
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    11

    Number of records depending on two conditions

    I am looking for a formula that counts the amount of times ‘Temp’ appears in ‘2014’.

    Column A column B
    Temp 01/03/2014
    Temp 01/04/2015
    Temp 01/05/2014
    Test 01/03/2014
    Test 01/04/2015

    Thanks very much in advance for your help.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Number of records depending on two conditions

    hi there. try:
    =COUNTIFS(A:A,"Temp",B:B," > =1jan2014",B:B," < 1jan2015")
    remove the spaces i have in my formula. this website seems to have trouble with the larger and lesser than signs

    do upload an excel sample so that we do not have to manually key in your data to do a testing.

    input the desired results so that we don't have to second-guess if what we are doing is correct or not. you may look at my signature to upload an eg that is easier to understand.

    the upload attachment must be done by going to Go Advanced. click on Manage Attachments. Choose file, upload and close the window.

    if i really guessed it wrongly, please upload something according to my recommendations. try to use the solution i have given and we'll help to advise what went wrong.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Number of records depending on two conditions

    try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-17-2008
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Number of records depending on two conditions

    Quote Originally Posted by sandy666 View Post
    try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks very much, this has solved the issue.
    Graham

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,838

    Re: Number of records depending on two conditions

    IIf that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Number of records depending on two conditions

    Quote Originally Posted by GrahamUK33 View Post
    Thanks very much, this has solved the issue.
    You are welcome and thanks

    Have a nice day

+ 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] List Records Depending on (Due Dates)
    By Subverter in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-06-2016, 03:56 AM
  2. Counting records depending on date entered
    By ryan.katy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2014, 05:13 AM
  3. Replies: 2
    Last Post: 02-11-2013, 06:52 PM
  4. Automate formulas depending on number of records
    By Chris632 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2012, 01:01 AM
  5. Replies: 3
    Last Post: 01-06-2012, 11:16 PM
  6. Auto populating cells depending on selection of records
    By hnnn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-03-2010, 04:35 AM
  7. Separating the records depending on the value
    By saikumar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-23-2008, 02:16 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