![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Microsoft Applications Discussions about Windows and other MS Products such as Office |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Civilians | 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 |
|
| | #2 (permalink) |
| Civilians | 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 > > |
|
| | #3 (permalink) |
| Civilians | 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. |
|
| | #4 (permalink) |
| Civilians | 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 |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
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 |
![]() | ![]() | ![]() |