![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 204
|
Ihave,..in L44, =(L43-L41>=0)*0+(L43-L41<90)*L43-L41
This formula works fine;L43-L41=L44, ....................... 8.0-9.0=-0.5 or ....................... 9.0-8.0=0.5 What i need is for L44 to =0.0,untill i enter a number into L43. what im getting is - the number in L41 or -8.0,,-9.0 whats wrong with where i am. |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Winnipeg
Posts: 2,330
|
Quote:
=IF(L43=0,0,(L43-L41<90)*L43-L41) Regards,
__________________
Barrie Davidson "You're only given a little spark of madness. You mustn't lose it." - Robin Williams |
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Winnipeg
Posts: 2,330
|
Note, I took out
(L43-L41>=0)*0 because this will always equate to zero (multiplying by zero).
__________________
Barrie Davidson "You're only given a little spark of madness. You mustn't lose it." - Robin Williams |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Mar 2002
Posts: 204
|
OUTSTANDING!! I AM GREATFUL, BEEN MESSING AROUND WITH THIS FOR A WILE. THANK YOU
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|