Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
batmanlasd
 
Posts: n/a
Default IF Stament formula nesting


I want to nest a formula with some if statements

Here is my data i.e.:

If my cell A1 equals "SWEEP" then I want it to say 10105, if it doesnt
then I want it say 10145, but if it equals "0" then I want it to say "-"


Thanks for the help in advance , my trouble is when I put the second If
statement :)


--
batmanlasd
------------------------------------------------------------------------
batmanlasd's Profile: http://www.excelforum.com/member.php...o&userid=28400
View this thread: http://www.excelforum.com/showthread...hreadid=479888

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default IF Stament formula nesting


You wrote "....I want *it* to say...." You don't tell us what IT is. I
hope you are referring to the cell that contains the IF formula. If
so...

Try this in the cell of your choice:

=IF(A1="SWEEP",10105,IF(A1=0,"-",10145))

Does this meet your needs?


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=479888

  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default IF Stament formula nesting

One way:

=IF(A1="SWEEP",10105,IF(A1=0,"-",10145))

An alternative:

=IF(A1=0,"-",10105+40*(A1="SWEEP"))





In article ,
batmanlasd
wrote:

I want to nest a formula with some if statements

Here is my data i.e.:

If my cell A1 equals "SWEEP" then I want it to say 10105, if it doesnt
then I want it say 10145, but if it equals "0" then I want it to say "-"


Thanks for the help in advance , my trouble is when I put the second If
statement :)

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
writing a formula for a colored value aaronwexler New Users to Excel 11 September 1st 05 03:11 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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

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

About Us

"It's about Microsoft Excel"