Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]() =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
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Displaying formulae changes formatting | Excel Worksheet Functions | |||
Change to formulae | Excel Worksheet Functions | |||
Searching TEXT in formulae, rather than results of formulae | Excel Worksheet Functions | |||
Dynamic formulae - similar to lotus 123 for excel | Excel Discussion (Misc queries) | |||
XL2002 Clipboard doesn't paste formulae | Excel Discussion (Misc queries) |