#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default If Statement Error

I have the following "IF" statement:

=IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AV$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AR$4,"", IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BC$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AY$4,"", IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BJ$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BF$4,"")))

and then I get the following error:
"You've entered too many arguments for this function. To help with entering
arguments for the function, click OK to close this message. Then, one the
formula bar, click the equal sign button (located to the left of the equal
sign in your formula)."

I do not have an equal sign button and I cannot figure out how make one
appear.

Does anyone know how go fix my formula or make the equal sign appear?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default If Statement Error

You don't need all the ,"", arguments. You only need one at the very end of
the formula. Try it like this:

=IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AV$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AR$4,IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BC$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AY$4,IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BJ$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BF$4,"")))


--
Biff
Microsoft Excel MVP


"Kiley" wrote in message
...
I have the following "IF" statement:

=IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AV$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AR$4,"", IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BC$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AY$4,"", IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BJ$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BF$4,"")))

and then I get the following error:
"You've entered too many arguments for this function. To help with
entering
arguments for the function, click OK to close this message. Then, one the
formula bar, click the equal sign button (located to the left of the equal
sign in your formula)."

I do not have an equal sign button and I cannot figure out how make one
appear.

Does anyone know how go fix my formula or make the equal sign appear?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default If Statement Error

You have a couple extra "" in there. You only need to supply the ""
condition at the very end of the formula. Try this:

=IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AV$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AR$4,IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BC$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AY$4,IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BJ$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BF$4,"")))

HTH
Elkar



"Kiley" wrote:

I have the following "IF" statement:

=IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AV$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AR$4,"", IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BC$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AY$4,"", IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BJ$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BF$4,"")))

and then I get the following error:
"You've entered too many arguments for this function. To help with entering
arguments for the function, click OK to close this message. Then, one the
formula bar, click the equal sign button (located to the left of the equal
sign in your formula)."

I do not have an equal sign button and I cannot figure out how make one
appear.

Does anyone know how go fix my formula or make the equal sign appear?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default If Statement Error

That worked. Now I have another question. Can I pull in some sort of lookup
value for this IF statement. For example, I have a row of information (all of
the IF statment information) for each person. I want to identify the row of
information to look at.


"Elkar" wrote:

You have a couple extra "" in there. You only need to supply the ""
condition at the very end of the formula. Try this:

=IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AV$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AR$4,IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BC$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AY$4,IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BJ$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BF$4,"")))

HTH
Elkar



"Kiley" wrote:

I have the following "IF" statement:

=IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AV$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AR$4,"", IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BC$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$AY$4,"", IF('[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BJ$4="y",'[TEMPLATE Off Mrt Summary Sheet _04_30_09.xls]officer
data'!$BF$4,"")))

and then I get the following error:
"You've entered too many arguments for this function. To help with entering
arguments for the function, click OK to close this message. Then, one the
formula bar, click the equal sign button (located to the left of the equal
sign in your formula)."

I do not have an equal sign button and I cannot figure out how make one
appear.

Does anyone know how go fix my formula or make the equal sign appear?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
handle error in IF ELSEIF statement Sabosis Excel Worksheet Functions 1 April 30th 09 05:06 AM
using error type and if statement to return a value. GAIDEN Excel Worksheet Functions 6 July 25th 08 12:38 AM
If statement error check lghovden06 Excel Worksheet Functions 1 July 9th 08 11:05 PM
Can't fix On Error statement austris Excel Discussion (Misc queries) 7 October 13th 06 07:09 AM
IF statement error D Excel Discussion (Misc queries) 4 October 4th 06 04:28 PM


All times are GMT +1. The time now is 06:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"