#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default IF Function

I know how to write a formula using the if function if sum equals one thing
or the other.
I need to know how to write a formula for if this then this, or if this then
this, or if this then this.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default IF Function

It is called 'nesting'

=IF(A1=2, "The value is 2",IF(A1=3,"Its three",IF(A1=4,"A four", "Not 2 or 3
or 4")))

In versions before Excel 2007 you can nest to seven levels
In Excel 2007 it is 64
If you need many IF's it is better to forget them an use a lookup formula
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"ManhattanRebel" wrote in message
...
I know how to write a formula using the if function if sum equals one thing
or the other.
I need to know how to write a formula for if this then this, or if this
then
this, or if this then this.




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default IF Function

Hi,

When you are asking multiple questions, it often turns out that you should
use VLOOKUP instead of nested IF's, if you show us sample data we might
poiint you in the best direction.
--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"ManhattanRebel" wrote:

I know how to write a formula using the if function if sum equals one thing
or the other.
I need to know how to write a formula for if this then this, or if this then
this, or if this then this.


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
ISBLANK function not working when cell is blank dut to function re mcmilja Excel Discussion (Misc queries) 9 May 7th 23 03:43 AM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


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