Go Back   Trackpads Community > General Discussions > Computer and Technology > Microsoft Applications

Microsoft Applications Discussions about Windows and other MS Products such as Office

Reply
 
LinkBack Thread Tools
Old 11-20-2004, 13:00   #1 (permalink)
Jan Kronsell
Civilians

 
Default Empty (NUll) value in cell, not empty string?

I have cell (D1) with this formula:

=IF(ISNA(VLOOKUP(C1,Navne,2,FALSE)),"";VLOOKUP(C1, Navne,2,FALSE))

If C1 is N/A, it returns an empty string. The problem is, you cant multiply
an empty string.

So my next formula =D1*10 it gives me a VALUE error. I would like to give me
a 0 in stead. I know I can change ti formula to insert a zero instead of the
"", but is there other way you can do it? I would like to avouid the
zero-value in D1.

I know I can make conditonal formatting of D1, or suppress the showing of
zeros.

Jan


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 11-20-2004, 13:00   #2 (permalink)
Jan Kronsell
Civilians

 
Default Re: Empty (NUll) value in cell, not empty string?

I forgot to say, the reason I cannot use a zero in stead of the "" is,
thatzero is one of the possible return values from the VLOOKUP.

Jan



"Jan Kronsell" <kronsell(removebeforesend)@adslhome.dk> skrev i en
meddelelse news:uN4epuxzEHA.2676@TK2MSFTNGP12.phx.gbl...
> I have cell (D1) with this formula:
>
> =IF(ISNA(VLOOKUP(C1,Navne,2,FALSE)),"";VLOOKUP(C1, Navne,2,FALSE))
>
> If C1 is N/A, it returns an empty string. The problem is, you cant

multiply
> an empty string.
>
> So my next formula =D1*10 it gives me a VALUE error. I would like to give

me
> a 0 in stead. I know I can change ti formula to insert a zero instead of

the
> "", but is there other way you can do it? I would like to avouid the
> zero-value in D1.
>
> I know I can make conditonal formatting of D1, or suppress the showing of
> zeros.
>
> Jan
>
>



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-20-2004, 13:00   #3 (permalink)
JE McGimpsey
Civilians

 
Default Re: Empty (NUll) value in cell, not empty string?

One way:

=N(D1)*10


In article <uN4epuxzEHA.2676@TK2MSFTNGP12.phx.gbl>,
"Jan Kronsell" <kronsell(removebeforesend)@adslhome.dk> wrote:

> I have cell (D1) with this formula:
>
> =IF(ISNA(VLOOKUP(C1,Navne,2,FALSE)),"";VLOOKUP(C1, Navne,2,FALSE))
>
> If C1 is N/A, it returns an empty string. The problem is, you cant multiply
> an empty string.
>
> So my next formula =D1*10 it gives me a VALUE error. I would like to give me
> a 0 in stead. I know I can change ti formula to insert a zero instead of the
> "", but is there other way you can do it? I would like to avouid the
> zero-value in D1.
>
> I know I can make conditonal formatting of D1, or suppress the showing of
> zeros.

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-20-2004, 13:00   #4 (permalink)
Domenic
Civilians

 
Default Re: Empty (NUll) value in cell, not empty string?


For your second formula...

=IF(ISNUMBER(D1),D1*10,0)

Hope this helps!

Jan Kronsell Wrote:
> I have cell (D1) with this formula:
>
> =IF(ISNA(VLOOKUP(C1,Navne,2,FALSE)),"";VLOOKUP(C1, Navne,2,FALSE))
>
> If C1 is N/A, it returns an empty string. The problem is, you can
> multiply
> an empty string.
>
> So my next formula =D1*10 it gives me a VALUE error. I would like t
> give me
> a 0 in stead. I know I can change ti formula to insert a zero instea
> of the
> "", but is there other way you can do it? I would like to avouid the
> zero-value in D1.
>
> I know I can make conditonal formatting of D1, or suppress the showin
> of
> zeros.
>
> Ja


--
Domeni
-----------------------------------------------------------------------
Domenic's Profile: http://www.excelforum.com/member.php...fo&userid=1078
View this thread: http://www.excelforum.com/showthread.php?threadid=31902

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-20-2004, 16:00   #5 (permalink)
Jan Kronsell
Civilians

 
Default Re: Empty (NUll) value in cell, not empty string?

Thanks. Thatd id the trick.

Jan

"Domenic" <Domenic.1g13tf@excelforum-nospam.com> skrev i en meddelelse
newsomenic.1g13tf@excelforum-nospam.com...
>
> For your second formula...
>
> =IF(ISNUMBER(D1),D1*10,0)



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
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
how to set a cell to EMPTY in a function? serdar Microsoft Applications 6 07-25-2005 00:00
empty cell in a colomn Khalil Handal Microsoft Applications 5 06-10-2005 08:00
COUNTA, but not formulas returning empty string Johan Myrberger Microsoft Applications 1 12-03-2004 13:00
Dynamic Range Based on Cell Result not Empty Cell ExcelMonkey Microsoft Applications 3 06-16-2004 04:01
00/01/1900 In the date cell when linked cell is empty? Derek Peters Microsoft Applications 2 06-16-2004 02:19


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 11:17.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.70323 seconds with 19 queries