+ Reply to Thread
Results 1 to 4 of 4

Multiple IF(FIND functions

  1. #1
    Registered User
    Join Date
    08-20-2013
    Location
    Yokohama, Japan
    MS-Off Ver
    Excel 2010
    Posts
    2

    Multiple IF(FIND functions

    Hi I am trying to make filling out a sheet I need to do daily a little bit easier by having a formula that searches a specific cell for a word (location name in this case), and have it input the time I specify into another cell. I already have it set so that the location name is put in when I name the tab for said location. I am trying to make a chain so that whatever location I put in it will put the times I specify.

    Maybe this example will help
    first off I am using this formula to name a cell based on the tabs name:
    =RIGHT(CELL("filename",$A$1),LEN(CELL("filename",$A$1))-FIND("]",CELL("filename",$A$1),1))
    in the first tab I name is "Kiso nishi", in cell A63

    next in cell e-k65 i put this formula in
    =IF(FIND("Kiso",$A$63,1),"Start time 9:10 Finish time 9:35-40 Length 25-30min", IF(FIND("Kosugi",$A$63,1), "Start Time 2:45 Finish Time 3:15 Length 30 min"))
    the second half of the formula is the name of another location I visit, since the first part of the formula is true, it works beautifully

    However when I use this exact same formula on the next tab, which is labeled Musashi Kosugi, it turns up with #VALUE!. Any ideas why?

    What I am requesting is I want a formula similar to this idea, but I want it to work for all 11 locations I visit. I have tried concatenate but am not too sure how it works.
    I would like this formula to be a universal one so I can put it in any of the tabs and it will show the desired result.

    Any help is appreciated and thank you in advance!

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Multiple IF(FIND functions

    When the cell does not contain Kiso the find function will return an error, which excel does not evaluate to true or false, you probably want something like
    =IF(NOT(ISERROR(FIND("Kiso",$A$63,1))),"Start time 9:10 Finish time 9:35-40 Length 25-30min", IF(NOT(ISERROR(FIND("Kosugi",$A$63,1))), "Start Time 2:45 Finish Time 3:15 Length 30 min"))
    instead

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,620

    Re: Multiple IF(FIND functions

    Precede the FIND function with "ISNUMBER"
    =IF(ISNUMBER(FIND( ...

  4. #4
    Registered User
    Join Date
    08-20-2013
    Location
    Yokohama, Japan
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Multiple IF(FIND functions

    Awesome! Thank you for the quick response! The problem with the 2nd tab has been fixed!!

    Now about the next part, I would like to make this formula with 11 locations in it, should I just used =CONCATENATE(IF(NOT(ISERROR(FIND("Kiso",$A$63,1))),"Start time 9:10 Finish time 9:35-40 Length 25-30min"), IF(NOT(ISERROR(FIND("Kosugi",$A$63,1))),"Start Time 2:45 Finish Time 3:15 Length 30 min"), IF(NOT(ISERROR(FIND("location C",$A$63,1))),"Start time 9:45 Finish time 9:50 Length 5min"), etc?

+ 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. Combining multiple functions>lookup/sum functions
    By mush106 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2013, 07:47 AM
  2. [SOLVED] Help with multiple IF functions and possible lookup functions.
    By englishfellow in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-29-2013, 01:49 PM
  3. Multiple IF Functions or VLOOKUP functions
    By yinka00000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-15-2012, 11:29 PM
  4. Lookup Functions to find data in multiple files
    By TAFKADaz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-08-2009, 09:41 PM
  5. Multiple FIND functions in Conditional Formatting
    By RocketFuMaster in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-02-2005, 03: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