Too Many arguments. What am I missing???

TBLO

New Member
Joined
Mar 11, 2011
Messages
13
I am trying to keep a "Pass","Fail" cell empty or blank until any one of the cells meets <=5.
=IF(ISBLANK(E19,F19),G19),"",IF(E19:G19<=5,"Pass","Fail"))
Any ideas?
Thanks,
T
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I am trying to keep a "Pass","Fail" cell empty or blank until any one of the cells meets <=5.
=IF(ISBLANK(E19,F19),G19),"",IF(E19:G19<=5,"Pass","Fail"))
Any ideas?
Thanks,
T
Maybe this is what you had in mind:

=IF(COUNT(E19:G19)=0,"",IF(COUNTIF(E19:G19,"<=5"),"Pass","Fail"))
 
Upvote 0
Welcome to MrExcel board...

is this what you want?
Excel Workbook
M
5
Sheet1
Excel 2003
Cell Formulas
RangeFormula
M5=IF(OR(ISBLANK(E19),ISBLANK(F19),ISBLANK(G19)),"",IF(SUM(E19:G19)<=5,"Pass","Fail"))


if not then post a sample of your data
 
Upvote 0
Thanks Neil,
But that doesn't work. I need any one of the 3 cells to meet a pass fail criteria. =IF(AND(E14<=5,F14<=5,G14<=5),"Pass","Fail") This works except when E14, F14, G14 are empty the cell used to report defaults to Pass and I would like it blank.
T
 
Upvote 0
Thanks Neil,
But that doesn't work. I need any one of the 3 cells to meet a pass fail criteria. =IF(AND(E14<=5,F14<=5,G14<=5),"Pass","Fail") This works except when E14, F14, G14 are empty the cell used to report defaults to Pass and I would like it blank.
T

Maybe this:
Code:
=IF(COUNTA(E19:G19)=COLUMNS(E19:G19),IF(COUNTIF(E19:G19,"<="&5)=COLUMNS(E19:G19),"Pass","Fail"),"")
 
Upvote 0
Thanks Neil,
But that doesn't work. I need any one of the 3 cells to meet a pass fail criteria. =IF(AND(E14<=5,F14<=5,G14<=5),"Pass","Fail") This works except when E14, F14, G14 are empty the cell used to report defaults to Pass and I would like it blank.
T

did the other two suggestions not work either?
 
Upvote 0
The issue with all of these formula's is that the first of the 3 cells being evaluated controls the pass/fail. If the first cell is empty and data is in the second and third no pass/fail is given.
 
Upvote 0
like this maybe
Code:
=IF(AND(ISBLANK(E19),COUNTA(F19:G19)=2),"",IF(SUM(E19:G19)< =5,"Pass","Fail"))
 
Upvote 0
Sorry, again the first cell controls the posting of the pass/fail criteria, and f & g cells function together.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,719
Members
452,939
Latest member
WCrawford

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