Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Using Vlookup and IF statements to check for blank cells

I neglected to include my formula in the 1st message. Sorry. Here it is:

=VLOOKUP(B4,'Price List'!$A$3:$B$13,2,FALSE)
--
Thanks from Salt Spring
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Using Vlookup and IF statements to check for blank cells

=if(b4="","",VLOOKUP(B4,'Price List'!$A$3:$B$13,2,FALSE))


Koomba wrote:

I neglected to include my formula in the 1st message. Sorry. Here it is:

=VLOOKUP(B4,'Price List'!$A$3:$B$13,2,FALSE)
--
Thanks from Salt Spring


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Using Vlookup and IF statements to check for blank cells

Dave: that was SIMPLY great. Thanks
--
Thanks from Salt Spring


"Dave Peterson" wrote:

=if(b4="","",VLOOKUP(B4,'Price List'!$A$3:$B$13,2,FALSE))


Koomba wrote:

I neglected to include my formula in the 1st message. Sorry. Here it is:

=VLOOKUP(B4,'Price List'!$A$3:$B$13,2,FALSE)
--
Thanks from Salt Spring


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Using Vlookup and IF statements to check for blank cells

Hi,

Since you didn't include the first message I'm not sure this will help:

=IF(B4,VLOOKUP(B4,'Price List'!$A$3:$B$13,2,0),"")

Note - if you name the range in the sheet called Price List, for example PL,
then your formula no longer needs a sheet reference, and since range names
are absolute by default you don't need the $ signs. So your formula can
simplify to:

=IF(B4,VLOOKUP(B4,PL,2,0),"")


--
Thanks,
Shane Devenshire


"Koomba" wrote:

I neglected to include my formula in the 1st message. Sorry. Here it is:

=VLOOKUP(B4,'Price List'!$A$3:$B$13,2,FALSE)
--
Thanks from Salt Spring

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default Using Vlookup and IF statements to check for blank cells

another basic alternative would be

=IF(ISNA(VLOOKUP(B4,'Price List'!$A$3:$B$13,2,FALSE)),"",VLOOKUP(B4,'Price
List'!$A$3:$B$13,2,FALSE))

you can have not found by replacing "" with "not found" in the formula.

regards,


"Koomba" wrote:

I neglected to include my formula in the 1st message. Sorry. Here it is:

=VLOOKUP(B4,'Price List'!$A$3:$B$13,2,FALSE)
--
Thanks from Salt Spring



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
checking for blank cells when using vlookup Koomba Excel Worksheet Functions 1 September 27th 08 03:30 AM
check a row ignore blank cells print only those with text Rollo Tomasi Excel Discussion (Misc queries) 4 May 18th 07 08:32 AM
check for two blank cells before populating a 3rd. slinger Excel Worksheet Functions 6 October 25th 06 08:14 PM
Need Vlookup to return a value of $0.00 in blank cells Roger Govier Excel Worksheet Functions 0 July 26th 06 08:16 AM
Need Vlookup to return a value of $0.00 in blank cells fabiano Excel Worksheet Functions 2 July 26th 06 08:11 AM


All times are GMT +1. The time now is 11:06 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"