+ Reply to Thread
Results 1 to 11 of 11

COUNTIF and "OR" criteria

  1. #1
    Registered User
    Join Date
    11-17-2019
    Location
    singapore
    MS-Off Ver
    MS Excel for Mac v 16
    Posts
    12

    COUNTIF and "OR" criteria

    Hi
    i am attempting to check 2 criterias eg if title typed in checkout matches book list then it displays on loan /available otherwise I want another IF statemet to check if date returned is today/past then mark as available. But it tells me i have too many parameters...

    =IF(COUNTIF('JAN Checkout'!D:D, 'Book Collection List'!B:B), "On Loan", "Available", IF(Books[[#Headers],[DATE RETURNED]]>=Today(),"Available", "On Loan"))

    How do i resolve this?

    Any help rendered will be greatly appreciated.

  2. #2
    Registered User
    Join Date
    11-17-2019
    Location
    singapore
    MS-Off Ver
    MS Excel for Mac v 16
    Posts
    12

    Re: Searching

    Also is there a way that a user can type in a text to search and all the cells containg parts of the string typed in will be highlighted?

  3. #3
    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,053

    Re: COUNTIF and "OR" criteria

    Your thread title is awful! It should look like the phrase you'd use in a Google search. Since you're new here, I have changed it for you.

    Now.

    Read the yellow banner at the top of the page and attach a SMALL sample sheet.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    11-17-2019
    Location
    singapore
    MS-Off Ver
    MS Excel for Mac v 16
    Posts
    12

    Thumbs up Re: COUNTIF and "OR" criteria

    Thank you for your assistance! appreciate it
    Last edited by CR37; 11-19-2019 at 12:19 PM.

  5. #5
    Registered User
    Join Date
    11-17-2019
    Location
    singapore
    MS-Off Ver
    MS Excel for Mac v 16
    Posts
    12

    Re: COUNTIF and "OR" criteria

    i cant seem to attach the document. I am clicking o the 'attachements tab' but it doesnt open a dialog to allow me to attach
    Could you please advise?

  6. #6
    Registered User
    Join Date
    11-17-2019
    Location
    singapore
    MS-Off Ver
    MS Excel for Mac v 16
    Posts
    12

    Re: COUNTIF and "OR" criteria

    Ok managed to attach. kindly take a look thank u for your time and patience
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: COUNTIF and "OR" criteria

    Please Login or Register  to view this content.
    Try this formula
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  8. #8
    Registered User
    Join Date
    11-17-2019
    Location
    singapore
    MS-Off Ver
    MS Excel for Mac v 16
    Posts
    12

    Re: COUNTIF and "OR" criteria

    i tried the code but it gives an error- saying there is a problem with the formula...

  9. #9
    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,053

    Re: COUNTIF and "OR" criteria

    Popipio is Dutch. They use ; as a separator and he forgot to change one of them to a comma.

    =IF(COUNTIFS('JAN Checkout'!$D$3:$D$35,B3,'JAN Checkout'!$E$3:$E$35,">0")-COUNTIFS('JAN Checkout'!$D$3:$D$35,B3,'JAN Checkout'!$F$3:$F$35,">0")=0,"Available","On loan")

    seems OK to me.

  10. #10
    Registered User
    Join Date
    11-17-2019
    Location
    singapore
    MS-Off Ver
    MS Excel for Mac v 16
    Posts
    12

    Re: COUNTIF and "OR" criteria

    Awesome!! thank u so much for pointing that out!

  11. #11
    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,053

    Re: COUNTIF and "OR" criteria

    A tiny error. Easily missed.

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. searching box
    By fady77 in forum Excel General
    Replies: 2
    Last Post: 01-18-2018, 07:28 AM
  2. Searching
    By cruise in forum Excel General
    Replies: 1
    Last Post: 02-16-2011, 01:01 PM
  3. VBA Searching
    By aca in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2008, 10:10 AM
  4. searching
    By gcsd_22 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-06-2008, 12:53 PM
  5. [SOLVED] searching
    By Tom Ogilvy in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 06:05 PM
  6. searching
    By Tom Ogilvy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 11:05 AM
  7. searching
    By Tracy A in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 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