#1   Report Post  
Posted to microsoft.public.excel.newusers
Gerald
 
Posts: n/a
Default formulae

hi,

I have a field which does calculation on the IF condition, does fine till
have a negative conditon

e.g. =IF(H3<=-4000,"CAMERA",IF(H3<=-8000,"PRINTER"))

now the statement comes in field 'I' e.g. CAMERA etc.

tried having the amount in () still does not show up

also can I have both the + and - conditon in on IF statement

please advise

thanks



  #2   Report Post  
Posted to microsoft.public.excel.newusers
Dav
 
Posts: n/a
Default formulae


=IF(H3<=-4000,"CAMERA",IF(H3<=-8000,"PRINTER"))

Assuming you are ahppy with false appearing if the value is not less
than 4000, the first condition will always be met if h3 <=-8000 it will
also be <=-4000 so you will never get "PRINTER" returned

Try switching you conditions

=IF(H3<=-8000,"PRINTER",IF(H3<=-4000,"CAMERA"))

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=539785

  #3   Report Post  
Posted to microsoft.public.excel.newusers
SVC
 
Posts: n/a
Default formulae

Try this formula if field "I":
=IF(H3-4000,"",IF(AND(H3<=-4000,H3-8000),"CAMERA",IF(H3<=-8000,"PRINTER")))

If H3 is greater than -4000, cell is blank, if H3 is less than or equal to
-4000 AND greater than -8000, cell is CAMERA, if H3 is less than or equal to
-8000, cell is PRINTER.

"Gerald" wrote:

hi,

I have a field which does calculation on the IF condition, does fine till
have a negative conditon

e.g. =IF(H3<=-4000,"CAMERA",IF(H3<=-8000,"PRINTER"))

now the statement comes in field 'I' e.g. CAMERA etc.

tried having the amount in () still does not show up

also can I have both the + and - conditon in on IF statement

please advise

thanks



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
Displaying formulae changes formatting SueJB Excel Worksheet Functions 4 May 8th 06 01:01 PM
Change to formulae Emma Hope Excel Worksheet Functions 3 September 5th 05 09:16 PM
Searching TEXT in formulae, rather than results of formulae AndyE Excel Worksheet Functions 1 July 15th 05 10:57 AM
Dynamic formulae - similar to lotus 123 for excel JohnD Excel Discussion (Misc queries) 1 July 5th 05 11:41 PM
XL2002 Clipboard doesn't paste formulae Jonathan Excel Discussion (Misc queries) 2 May 23rd 05 12:17 PM


All times are GMT +1. The time now is 07:19 AM.

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"