Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Stop #N/A until data in the reference cell

How can I keep cells blank (that have vlookup function in) until there is
data in the cell being referenced
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Stop #N/A until data in the reference cell

It depends exactly on how your formula works. The normal approach would
be:

=IF(ISNA(your_formula),"",your_formula)

But if the error is caused solely because of the reference cell being
empty (assume this is A1), then you could also try:

=IF(A1="","",your_formula)

Hope this helps.

Pete

Colin wrote:
How can I keep cells blank (that have vlookup function in) until there is
data in the cell being referenced


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Stop #N/A until data in the reference cell

check the match function

=IF(ISNA(MATCH(arg1, arg2, arg3)), "", VLOOKUP(arg1, arg2, arg3, arg4))


"Colin" wrote:

How can I keep cells blank (that have vlookup function in) until there is
data in the cell being referenced

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default Stop #N/A until data in the reference cell

Sorry, must be being a bit thick here. Tried that and cell stays blank all
the time.
My formula is =vlookup(A1,Items,2) Items being the referecne chart on
sheet 2,
Any more on this thanks.

"Pete_UK" wrote:

It depends exactly on how your formula works. The normal approach would
be:

=IF(ISNA(your_formula),"",your_formula)

But if the error is caused solely because of the reference cell being
empty (assume this is A1), then you could also try:

=IF(A1="","",your_formula)

Hope this helps.

Pete

Colin wrote:
How can I keep cells blank (that have vlookup function in) until there is
data in the cell being referenced



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
Can a cell reference bring the color of the data to the new sheet SandyA Excel Discussion (Misc queries) 4 July 11th 06 03:46 AM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Input cell reference is not valid (One Variable Data Table) Dottore Excel Worksheet Functions 9 September 1st 05 03:05 PM
Using a Text / Data output as a cell reference Jimboski Excel Discussion (Misc queries) 1 February 11th 05 07:31 PM


All times are GMT +1. The time now is 02:31 PM.

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"