+ Reply to Thread
Results 1 to 11 of 11

Help with IF/OR Formula

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-29-2009
    Location
    Chattanooga, TN
    MS-Off Ver
    2021
    Posts
    205

    Re: Help with IF/OR Formula

    Thanks Donkey and n=b!

    that's exactly what I needed. Donkey, you're right. I needed a search in rather than exact match. Just trying to educate myself: what does the count function do exactly?

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Help with IF/OR Formula

    SEARCH will either return a Number (found) or a #VALUE! error (not found)
    COUNT identifies how many numbers exist in the array of values passed to it.
    In this instance the array of values within the COUNT is the two SEARCH results.
    It follows that if either SEARCH returns a Number the resulting COUNT will be > 0.
    We can use the COUNT result to execute the appropriate part of the IF given only 0 = FALSE (all other numbers = TRUE)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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