![]() |
![]() |
|
|||||||
| 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 |
|
New Member
Join Date: Mar 2002
Location: LIZ
Posts: 19
|
IF N17 CONTENTS IS A NUMBER, I WANT TO
DISPLAY 'LBS 'IN O17. THIS IS FOR A SHIPPER N17 BEING THE PRODUCT WEIGHT. IF N17(WHICH CONTAINS A FORMULA OF WEIGHT CALCULATION FOR PRODUCT SHIPPED)DISPLAY BLANK I WOULD LIKE NOTHING DISPLAYED IN O17 [ This Message was edited by: HAWK on 2002-04-06 20:37 ] |
|
|
|
|
|
#2 |
|
BatCoder
Join Date: Feb 2002
Location: Turkey
Posts: 764
|
O17:
=IF(LEN(N17)=0,"",N17) regards _________________ Oz ~ TheWordExpert [ This Message was edited by: smozgur on 2002-04-06 19:52 ] |
|
|
|
|
|
#3 |
|
BatCoder
Join Date: Feb 2002
Location: Turkey
Posts: 764
|
This is much better
=IF(ISNUMBER(N17),N17,"") |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
Smorguz, I believe you had earlier posted =if(N17>0,"LBS","") ... which worked fine for numeric entry I believe you now want to replace it with =IF(AND(ISNUMBER(N17),N17>0),"LBS","") to take care of any defiant text entry Regards! _____________ Yogi Anand Edit: Deleted inactive web site reference from hard code signature line [ This Message was edited by: Yogi Anand on 2003-01-19 17:35 ] |
|
|
|
|
|
|
#5 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
My apologies!
It was Paul B who had posted =if(N17>0,"LBS","") to the same question from Hawk that was duplicated. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|