Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default IF Formula and blank answer

Hello this is my formula
=IF(ISNA(VLOOKUP($A4,'PG Disc'!$E$2:$U$632,17,FALSE))," ",VLOOKUP($A4,'PG
Disc'!$E$2:$U$632,17,FALSE)) Here is the thing the column where the answer
goes is formatted as percentage. if column A is blank is till gives me
0.00%. what I want is if column A is blank the answer to be blank (empty
cell) thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default IF Formula and blank answer

One way:

=IF(ISNA(MATCH($A4,'PG Disc'!$E$2:$E$632,FALSE)),"",IF(VLOOKUP($A4,
'PG Disc'!$E$2:$E$632,17,FALSE)="", "", VLOOKUP($A4, 'PG
Disc'!$E$2:$E$632,17,FALSE)))

In article ,
Wanna Learn wrote:

Hello this is my formula
=IF(ISNA(VLOOKUP($A4,'PG Disc'!$E$2:$U$632,17,FALSE))," ",VLOOKUP($A4,'PG
Disc'!$E$2:$U$632,17,FALSE)) Here is the thing the column where the answer
goes is formatted as percentage. if column A is blank is till gives me
0.00%. what I want is if column A is blank the answer to be blank (empty
cell) thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default IF Formula and blank answer

=if(isna(vlookup(...)),"",if(vlookup(...)="","",vl ookup(...)))


Check for an error. Check for empty. Then return the real value.

or

=if(iserror(1/len(vlookup(...)),"",vlookup(...))



Wanna Learn wrote:

Hello this is my formula
=IF(ISNA(VLOOKUP($A4,'PG Disc'!$E$2:$U$632,17,FALSE))," ",VLOOKUP($A4,'PG
Disc'!$E$2:$U$632,17,FALSE)) Here is the thing the column where the answer
goes is formatted as percentage. if column A is blank is till gives me
0.00%. what I want is if column A is blank the answer to be blank (empty
cell) thanks


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default IF Formula and blank answer

Thanks Dave for Saving the day!

"Dave Peterson" wrote:

=if(isna(vlookup(...)),"",if(vlookup(...)="","",vl ookup(...)))


Check for an error. Check for empty. Then return the real value.

or

=if(iserror(1/len(vlookup(...)),"",vlookup(...))



Wanna Learn wrote:

Hello this is my formula
=IF(ISNA(VLOOKUP($A4,'PG Disc'!$E$2:$U$632,17,FALSE))," ",VLOOKUP($A4,'PG
Disc'!$E$2:$U$632,17,FALSE)) Here is the thing the column where the answer
goes is formatted as percentage. if column A is blank is till gives me
0.00%. what I want is if column A is blank the answer to be blank (empty
cell) thanks


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default IF Formula and blank answer

The formula seems to work for me. Did you check your look up data. There
may be true 0% values that you are finding rather that #N/A. Sorry if that
doesn't help.



"Wanna Learn" wrote:

Hello this is my formula
=IF(ISNA(VLOOKUP($A4,'PG Disc'!$E$2:$U$632,17,FALSE))," ",VLOOKUP($A4,'PG
Disc'!$E$2:$U$632,17,FALSE)) Here is the thing the column where the answer
goes is formatted as percentage. if column A is blank is till gives me
0.00%. what I want is if column A is blank the answer to be blank (empty
cell) thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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
Formula gives me the same answer Wanna Learn Excel Discussion (Misc queries) 6 March 6th 07 05:23 PM
blank cells in a formula gives me an answer not acceptable to prin AL VEGA New Users to Excel 2 June 20th 06 01:06 AM
i edit a formula (excel) then it displays formula not answer caiman Excel Discussion (Misc queries) 2 September 9th 05 02:09 AM
I need to get this answer 8 - 1.2 = 6.2 from a formula T Excel Worksheet Functions 11 December 22nd 04 02:17 PM
If and (and) formula to allow a zero answer inthestands Excel Worksheet Functions 8 November 3rd 04 10:36 AM


All times are GMT +1. The time now is 08:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"