Hi,
I'm maybe one step above newbie. I've figured a few things out, but if I don't go back within a certain amount of time, I forget how I got there.
I have a formula that's problematic and I don't know how to fix it. The source on which it's based is imported and can't be changed. The issue is that I'm trying to return values based on what the source says, but two of the options include a common word, so it's returning values for both.
Here's the formula:
=(IF(ISNUMBER(SEARCH("*Finished*",sheet1!BK3,1)),".85","0"))+(IF(ISNUMBER(SEARCH("*Partially Finished*",sheet1!BK3,1)),".5","0"))+(IF(ISNUMBER(SEARCH("*Unfinished*",sheet1!BK3,1)),"0","0"))+(IF(ISNUMBER(SEARCH("*Crawl*",sheet1!BK3,1)),".05","0"))+(IF(ISNUMBER(SEARCH("*Cellar*",sheet1!BK3,1)),"0","0"))+(IF(ISNUMBER(SEARCH("*Sub-Basement*",sheet1!BK3,1)),".15","0"))+(IF(ISNUMBER(SEARCH("*Exterior Access*",sheet1!BK3,1)),".15","0"))+(IF(ISNUMBER(SEARCH("*Bathroom Rough-In*",sheet1!BK3,1)),".25","0"))+(IF(ISNUMBER(SEARCH("*Other*",sheet1!BK3,1)),")","0"))
My main issue is in the first two elements; I want to return one value for "Finished" and a different value for "Partially Finished," but because the word "finished" appears in both, it's returning both values. How do I write it so it will return value a for "Finished" and value b for "Partially Finished" without returning a value for both?
The information is imported from an outside source and may include several of the conditions listed in the same cell. It might say, for example, "Partially Finished, Exterior Acess, Bathroom Rough-In." But instead of a value of (.5+.15+.25) it's returning a value of (.85+.5+.15+.25) because it's finding "Finished" inside of "Partially Finished," and counting it as a separate event.
Thank you, in advance, for your help. It is very much appreciated.
Bookmarks