A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can I enter two "IF" Functions in the same cell?



 
 
Thread Tools Display Modes
  #1  
Old November 28th, 2006, 12:35 AM posted to microsoft.public.excel.worksheet.functions
AcademyAce
external usenet poster
 
Posts: 1
Default Can I enter two "IF" Functions in the same cell?

I have used up all seven nested functions in my formula but still have three
arguments left. I want to include them in the same cell.
  #2  
Old November 28th, 2006, 12:54 AM posted to microsoft.public.excel.worksheet.functions
Corey
external usenet poster
 
Posts: 47
Default Can I enter two "IF" Functions in the same cell?

you can have more than 7 If functions nested in Vb code
"AcademyAce" wrote in message
...
I have used up all seven nested functions in my formula but still have
three
arguments left. I want to include them in the same cell.



  #3  
Old November 28th, 2006, 01:02 AM posted to microsoft.public.excel.worksheet.functions
driller
external usenet poster
 
Posts: 698
Default Can I enter two "IF" Functions in the same cell?

you can post your formula to see if this forum can help you.

"AcademyAce" wrote:

I have used up all seven nested functions in my formula but still have three
arguments left. I want to include them in the same cell.

  #4  
Old November 28th, 2006, 01:04 AM posted to microsoft.public.excel.worksheet.functions
Martin Fishlock
external usenet poster
 
Posts: 428
Default Can I enter two "IF" Functions in the same cell?

rolYes you can:

=IF(IF(IF(IF(IF(IF(IF(IF(A1=1,1,1),1),1),1),1),1), 1),1)+IF(IF(IF(IF(IF(IF(IF(IF(A1=1,1,1),1),1),1),1 ),1),1),1)

It is really difficult to understand the logic in multiple nested if
statements and a user defined function is generally a lot easier to control
and check

you can also use 'and' and 'or' in if statements as

=IF(OR(A1=1,A2=1,A3=1,A4=1,A5=1,A6=1,A7=1,A8=1,A9= 1,A10=1),1,0)

-
Hope this helps
Martin Fishlock


"AcademyAce" wrote:

I have used up all seven nested functions in my formula but still have three
arguments left. I want to include them in the same cell.

  #5  
Old November 28th, 2006, 01:39 AM posted to microsoft.public.excel.worksheet.functions
daddylonglegs
external usenet poster
 
Posts: 171
Default Can I enter two "IF" Functions in the same cell?

With 10 options it's usually better to use some sort of LOOKUP formula. If
you have the most simple structure like

IF(A1="a",2,IF(A1="b",3 ......etc then this can usually be simplified by
constructing a 2 column table and using a VLOOKUP formula

"AcademyAce" wrote:

I have used up all seven nested functions in my formula but still have three
arguments left. I want to include them in the same cell.

  #6  
Old November 28th, 2006, 04:14 PM posted to microsoft.public.excel.worksheet.functions
driller
external usenet poster
 
Posts: 698
Default Can I enter two "IF" Functions in the same cell?

you're right..

i just want to know here, (other than lookup results) if the number of
different value-if-true results...requires more than 7 and are structured
independently..... then nesting Maybe is a must...
let's wait for AcademyAce to post his formula n Results needed... he sounds
like an experienced excel user.

"daddylonglegs" wrote:

With 10 options it's usually better to use some sort of LOOKUP formula. If
you have the most simple structure like

IF(A1="a",2,IF(A1="b",3 ......etc then this can usually be simplified by
constructing a 2 column table and using a VLOOKUP formula

"AcademyAce" wrote:

I have used up all seven nested functions in my formula but still have three
arguments left. I want to include them in the same cell.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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