Trouble with Nested IF Excel Formula

Dad_x6

Board Regular
Joined
Jan 15, 2013
Messages
89
Hello. I am trying to do a Nested IF (or maybe SWITCH???) for a cell in Excel. My cell that I am looking at could have 3 values (11+ Years; 5-10 years; < 5 years). One of the troubles is that they could put more than those values in the cell (such as "We have been in business for 11+ Years"). The values that I would like to assign are 5, 3, and 1. Here is what I tried...

=IF(Find("11",C60,1)>0,5,IF(Find("10",C60,1)>0,3,1))

No luck.

Thoughts?
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
How about
Excel Formula:
=IF(ISNUMBER(FIND("11",C60,1)),5,IF(ISNUMBER(FIND("10",C60,1)),3,1))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,923
Members
448,533
Latest member
thietbibeboiwasaco

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top