![]() |
![]() |
|
|||||||
| 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 |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Georgia USA
Posts: 544
|
Try this =IF(N17>0,"LBS","")
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Location: LIZ
Posts: 19
|
Paul B,
I tried =IF(N17>0,"LBS","") It does display LBS still if N17 is blank Any other ideas? I appreciate your time |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
in O17 enter: =IF(LEN(N17),"LBS","") |
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Apr 2002
Location: Williston ND
Posts: 55
|
you tried =IF(N17>0,"LBS","")
try the opposite =IF(N17<=0,"","LBS") I had a similar problem and it worked for me Polly |
|
|
|
|
|
#6 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
I think you have posted the same question, several times before -- wherein PaulB , smozgur, and myself posted response to your question. If you post the same question several times, you will get fragmented responses Have you tried my solution that I gave to your question =IF(AND(ISNUMBER(N17),N17>0),"LBS","") Please post back if it works for you ... otherwise explain a little further and let us take it from there!
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|
|
|
|
|
|
#7 |
|
New Member
Join Date: Mar 2002
Location: LIZ
Posts: 19
|
YOGI ANAND,
=IF(AND(ISNUMBER(N17),N17>0),"LBS","") THIS DID WORK. I APOLOGISE FOR NOT REPLYING SOONER. YOU HAVE NO IDEA HOW MUCH YOUR INPUT HAS HELPED ME. THANKS AGAIN! |
|
|
|
|
|
#8 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
|
|
|
|
|
|
|
#9 | |||
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Hi Hawk:
I am glad it worked for you. Hi Aladin: Quote:
Your formula is really short and sweet, but it takes care of the situation when there is no entry in N17, however, Hawk's original question is Quote:
Regards! |
|||
|
|
|
|
|
#10 | ||||
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=IF(N7,"LBS","") would suffice. Aladin |
||||
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|