Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Embedded OR, AND statements in an IF structure

I need to write a function that goes as follows:

IF A or B C, Then A1 = 500, Else IF D and E and F 200, the A1= 200, Else
A1 = 100. Any suggestions?

Also - Is there a function that returns the value of e?
--
Thanks,

WW
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 124
Default Embedded OR, AND statements in an IF structure

For your first question, you could use ...

=IF(OR(A1C1,B1C1),500,IF(AND(D1200,E1200,F120 0),200,100))

For your second question... what do you mean "value of e"? You mean value
of E1?....

=E1

--
Zack Barresse
Microsoft MVP (Excel)



"W Wolfe" wrote in message
...
I need to write a function that goes as follows:

IF A or B C, Then A1 = 500, Else IF D and E and F 200, the A1= 200,
Else
A1 = 100. Any suggestions?

Also - Is there a function that returns the value of e?
--
Thanks,

WW


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default Embedded OR, AND statements in an IF structure


Also - Is there a function that returns the value of e?
--
Thanks,

WW


=Mass * (Speed_of_Light)^2? Course, that's only a theory. And in Excel
you'd have to define those names first.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Embedded OR, AND statements in an IF structure

Further to Zack's reply, you can use:

=EXP(1)

to return:

2.71828182845905

an approximation for e.

Hope this helps.

Pete

On Apr 21, 9:03*pm, W Wolfe wrote:
I need to write a function that goes as follows:

IF A or B C, Then A1 = 500, Else IF D and E and F 200, the A1= 200, Else
A1 = 100. *Any suggestions?

Also - Is there a function that returns the value of e?
--
Thanks,

WW


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Embedded OR, AND statements in an IF structure

For your second question...

=EXP(1)

If you need it raised to a power other than 1, just put that value in the
parentheses.

Rick


"W Wolfe" wrote in message
...
I need to write a function that goes as follows:

IF A or B C, Then A1 = 500, Else IF D and E and F 200, the A1= 200,
Else
A1 = 100. Any suggestions?

Also - Is there a function that returns the value of e?
--
Thanks,

WW


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
avoid embedded if statements ellebelle Excel Worksheet Functions 3 January 30th 08 01:07 PM
Do I need to use VBA for the following control structure? cfman Excel Discussion (Misc queries) 2 March 1st 07 11:42 AM
Help with formula structure Richard Excel Discussion (Misc queries) 4 October 7th 06 02:35 AM
reducing the number of times an IF statement needs to be calculated in embedded IF statements Harold Good Excel Discussion (Misc queries) 4 November 17th 05 06:36 PM
Need loop structure to get round limited IF statements karambos Excel Discussion (Misc queries) 5 August 30th 05 12:31 AM


All times are GMT +1. The time now is 04:41 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"