Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 101
Default Formula Error when entire row is deleted

Hi,

I have given a vlookup formula in A1 which is refering to A1 in sheet2.
Its working fine except when we delete or insert a row. If we delete
row A1, then the formula in A1 is refering to A2 in sheet2 and not A1.

The formula I have given is
=IF(SEARCH("Test",A1,1),"Test",VLOOKUP(LEFT(A1,19) ,'sheet2'!$A$1:$B$250,2,))


And if I delete the first row, the formula in A1 says:

=IF(SEARCH("Test",A1,1),"Test",VLOOKUP(LEFT(A2,19) ,'sheet2'!$A$1:$B$250,2,))

Any idea how to sort out this?

-Dileep

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 101
Default Formula Error when entire row is deleted

Sorry, a small change. The formula is in B1 and not in A1.

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
How do I apply formula to entire column Stephan Excel Discussion (Misc queries) 2 October 1st 06 06:04 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
formula for item no. philip Excel Discussion (Misc queries) 3 March 17th 06 07:07 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
How do I create a formula for an entire column Shelly9633 New Users to Excel 2 August 1st 05 11:24 PM


All times are GMT +1. The time now is 11:15 PM.

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"