ISNUMBER(SEARCH) for multiple values, too many commands

ttianna

New Member
Joined
May 2, 2011
Messages
4
I want to use ISNUMBER and SEARCH to return specific values if certain values are found in another cell, but I have too many.

=IF(ISNUMBER(SEARCH("assessment",D4)),"Graded",IF(ISNUMBER(SEARCH("Aplia",D4)),"Graded",IF(ISNUMBER(SEARCH("Other",D4),"Not Graded"))))

I want it to return "Graded" if it finds "Assessment" or "Aplia", and "Not Graded" if it finds "Other", and a FALSE return if it doesn't find any of those terms.

What I get now with this formula is an error that says:
"You've entered too many arguments for this function."

I tried using an OR command to nest further, but that didn't work either.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
You had misplaced paranthesis, try

=IF(ISNUMBER(SEARCH("assessment",D4)),"Graded",IF(ISNUMBER(SEARCH("Aplia",D4)),"Graded",IF(ISNUMBER(SEARCH("Other",D4)),"Not Graded")))
 
Upvote 0
=IF(COUNT(SEARCH({"assessment","Aplia"},D4)),"Graded",IF(ISNUMBER(SEARCH("other",D4)),"Not Graded"))
 
Upvote 0
I want to use ISNUMBER and SEARCH to return specific values if certain values are found in another cell, but I have too many.

=IF(ISNUMBER(SEARCH("assessment",D4)),"Graded",IF(ISNUMBER(SEARCH("Aplia",D4)),"Graded",IF(ISNUMBER(SEARCH("Other",D4),"Not Graded"))))

I want it to return "Graded" if it finds "Assessment" or "Aplia", and "Not Graded" if it finds "Other", and a FALSE return if it doesn't find any of those terms.

What I get now with this formula is an error that says:
"You've entered too many arguments for this function."

I tried using an OR command to nest further, but that didn't work either.
Here's another one...

=IF(SUM(COUNTIF(D4,"*"&{"assessment","Aplia"}&"*")),"Graded",IF(COUNTIF(D4,"*Other*"),"Not Graded"))
 
Upvote 0
Im trying similar formula..

but it does not give desired output.

=IF(ISNUMBER(SEARCH("ERef",AV3)),"Ref",ISNUMBER(SEARCH("eEdu",AV3)),"Edu",ISNUMBER(SEARCH("eEV",AV3)),"EV","")))
 
Upvote 0
Your parentheses aren't correct:

=IF(ISNUMBER(SEARCH("posit",K9)),"Deposit",IF(ISNUMBER(SEARCH("Lance",K9)),"Balance",1))
 
Upvote 0
Hi, I need a favor for this formula where I don't need return value to be "FALSE". I used this:

=IF(ISNUMBER(SEARCH("PETROL",C6)),"TRANSPORT"," ",IF(ISNUMBER(SEARCH("TRANSPORT",C6)),"TRANSPORT"," ",IF(ISNUMBER(SEARCH("HARDWARE",C6)),"HARDWARE"," ")))

But it returns the error message "Too many arguments were entered for this function".Please help.
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,042
Members
448,940
Latest member
mdusw

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