#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PKS PKS is offline
external usenet poster
 
Posts: 1
Default HELP!!!!!!!!!

I'm having trouble with how Excel changes blank cells to 0s. I'm using
the vlookup function to merge 2 spreadsheets. My formula is:
=vlookup(A2:A180, Sheet1!A:BQ, 3, FALSE)
The formula works. My problem is how blank cells from the spreadsheet
I'm trying to merge are given 0s in the merged spreadsheet. Someone
please help me with rewriting the formula so that blank cells come up
as blank, and cells with 0 come up as 0.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 153
Default HELP!!!!!!!!!

I'm having trouble with how Excel changes blank cells to 0s. I'm using
the vlookup function to merge 2 spreadsheets. My formula is:
=vlookup(A2:A180, Sheet1!A:BQ, 3, FALSE)
The formula works. My problem is how blank cells from the spreadsheet
I'm trying to merge are given 0s in the merged spreadsheet.


One way:
=IF(your_formula="", "", your_formula)
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 259
Default HELP!!!!!!!!!

On 30/06/2012 8:46 AM, zvkmpw wrote:
I'm having trouble with how Excel changes blank cells to 0s. I'm using
the vlookup function to merge 2 spreadsheets. My formula is:
=vlookup(A2:A180, Sheet1!A:BQ, 3, FALSE)
The formula works. My problem is how blank cells from the spreadsheet
I'm trying to merge are given 0s in the merged spreadsheet.


One way:
=IF(your_formula="", "", your_formula)

Hi
Assuming A2 is the reference cell and the formula is in B2..

=IF($A2="","",VLOOKUP($A2, Sheet1!A:BQ, 3, FALSE))

Copy down as required

HTH
Mick.

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



All times are GMT +1. The time now is 04:34 AM.

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

About Us

"It's about Microsoft Excel"