Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Pasmatos
 
Posts: n/a
Default Formula error - IF(AND...

HI!
Please I need help for this...
I tried to put more conditions, but excel says that formula contains an error.
You know an alternative for this ??
=IF(AND(G2=C2;G2<=D2);E2;IF(AND(G2=C3;G2<=D3);E3 ;IF(AND(G2=C4;G2<=D4);E4;IF(AND(G2=C5;G2<=D5);E5 ;IF(AND(G2=C6;G2<=D6);E6;IF(AND(G2=C7;G2<=D7);E7 ;IF(AND(G2=C8;G2<=D8);E8;0))))))

Thanks for yor help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Niek Otten
 
Posts: n/a
Default Formula error - IF(AND...

Look in HELP for the VLOOKUP function

--
Kind regards,

Niek Otten

"Pasmatos" wrote in message
...
HI!
Please I need help for this...
I tried to put more conditions, but excel says that formula contains an
error.
You know an alternative for this ??
=IF(AND(G2=C2;G2<=D2);E2;IF(AND(G2=C3;G2<=D3);E3 ;IF(AND(G2=C4;G2<=D4);E4;IF(AND(G2=C5;G2<=D5);E5 ;IF(AND(G2=C6;G2<=D6);E6;IF(AND(G2=C7;G2<=D7);E7 ;IF(AND(G2=C8;G2<=D8);E8;0))))))

Thanks for yor help.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Formula error - IF(AND...

You are hitting Excel's 7 nested functions limit. You will need to break it
down.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Pasmatos" wrote in message
...
HI!
Please I need help for this...
I tried to put more conditions, but excel says that formula contains an

error.
You know an alternative for this ??

=IF(AND(G2=C2;G2<=D2);E2;IF(AND(G2=C3;G2<=D3);E3 ;IF(AND(G2=C4;G2<=D4);E4;
IF(AND(G2=C5;G2<=D5);E5;IF(AND(G2=C6;G2<=D6);E6; IF(AND(G2=C7;G2<=D7);E7;I
F(AND(G2=C8;G2<=D8);E8;0))))))

Thanks for yor help.



  #4   Report Post  
Posted to microsoft.public.excel.misc
B. R.Ramachandran
 
Posts: n/a
Default Formula error - IF(AND...

Hi,

Try this array formula and confirm with CTRL-SHIFT-ENTER. Modify the ranges
appropriately (note that the ranges in columns C, D, and E should be equal in
length). The formula assumes that E63000 is empty, which I am sure, will be
the case.

=INDIRECT("E"&MIN(IF(($G$2=$C$2:$C$101)*($G$2<=$D $2:$D$101)*ROW($C$2:$C$101)<0,ROW($C$2:$C$101),63 000)))

Regards,
B. R. Ramachandran

"Pasmatos" wrote:

HI!
Please I need help for this...
I tried to put more conditions, but excel says that formula contains an error.
You know an alternative for this ??
=IF(AND(G2=C2;G2<=D2);E2;IF(AND(G2=C3;G2<=D3);E3 ;IF(AND(G2=C4;G2<=D4);E4;IF(AND(G2=C5;G2<=D5);E5 ;IF(AND(G2=C6;G2<=D6);E6;IF(AND(G2=C7;G2<=D7);E7 ;IF(AND(G2=C8;G2<=D8);E8;0))))))

Thanks for yor help.

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
IF formula? meris Excel Worksheet Functions 1 September 6th 05 07:14 AM
Formula works in some cells, doesn't in other Wowbagger New Users to Excel 13 June 30th 05 03:21 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM


All times are GMT +1. The time now is 03:02 AM.

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"