LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Formulas returning errors when reference columns are deleted

I have the following formula in Sheet1 of my workbook:

=SUM(IF((Sheet2!$E$1:$E$1000="Mary")*(Sheet2!$G$1: $G$1000="BrownEyes"),1,0))

However, if I delete Column E in Sheet 2, the formula changes to the
following:

=SUM(IF((Sheet2!#REF!="Submitted")*(Sheet2!$F$1:$F $1000="MAS"),1,0))

I thought that by putting dollar signs ($) in front of the cell
locations, this would not happen and that the formula would return
whatever values were in the new column E, the old one having been
deleted.

The reason column E gets deleted, is that I copy a whole dump from a
*.csv file into the Sheet2 of workbook, which then automatically
reformats it, including deleting several unwanted columns.

I have already laboriously typed in a whole table of formulas like
those above in Sheet1, and want them to be unchanged by the
reformatting.

How can I prevent this happening?

Kind regards

Ian M
 
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
deleted text character returning numbers when deleted. Trreborr09 New Users to Excel 3 April 11th 10 03:17 AM
Help on sumproduct returning errors Pierre Excel Worksheet Functions 2 November 16th 06 04:00 PM
VLOOKUP returning errors Dave F Excel Worksheet Functions 4 September 6th 06 06:35 PM
Formulas: Keeping same row/column reference when columns are inser Mike Excel Discussion (Misc queries) 5 February 11th 05 09:37 PM
formulas refer to columns that are deleted Sharon[_7_] Excel Programming 1 December 19th 03 07:16 PM


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