Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
deleted text character returning numbers when deleted. | New Users to Excel | |||
Help on sumproduct returning errors | Excel Worksheet Functions | |||
VLOOKUP returning errors | Excel Worksheet Functions | |||
Formulas: Keeping same row/column reference when columns are inser | Excel Discussion (Misc queries) | |||
formulas refer to columns that are deleted | Excel Programming |