#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Cell Formula


=IF('Form 1'!AI17="Yes","DATA")
Above is a formula that i'm using in a spreadsheet called 'Moves
Request Form' & works OK.
My problem is that sometimes I will be deleting 'Form 1' from my
workbook & generating it at another time.
When I do this the above formula reads =IF(#REF!AI17="Yes","DATA")
because 'Form 1' no longer exists.
How can I write the formula so that it retains the 'Form 1' entry even
when 'Form 1' dos'nt exist??


--
grahammal
------------------------------------------------------------------------
grahammal's Profile: http://www.excelforum.com/member.php...o&userid=20336
View this thread: http://www.excelforum.com/showthread...hreadid=568919

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Cell Formula

Some thoughts ...

Assuming that what you really want is just to "preserve" the orig. formula's
functionality, and that it's just a single cell formula, then perhaps we
could use INDIRECT, viz.:

=IF(INDIRECT("'Form 1'!AI17")="Yes","DATA","")

[I assumed you wanted it to return "blank" instead of FALSE, if it evaluates
to FALSE. Your original omitted the value_if_false]

When you delete: Form 1, the above will still return #REF! but it will work
again like magic when you "re-gen" a new sheet with the name: Form 1
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"grahammal" wrote:

=IF('Form 1'!AI17="Yes","DATA")
Above is a formula that i'm using in a spreadsheet called 'Moves
Request Form' & works OK.
My problem is that sometimes I will be deleting 'Form 1' from my
workbook & generating it at another time.
When I do this the above formula reads =IF(#REF!AI17="Yes","DATA")
because 'Form 1' no longer exists.
How can I write the formula so that it retains the 'Form 1' entry even
when 'Form 1' dos'nt exist??


--
grahammal
------------------------------------------------------------------------
grahammal's Profile: http://www.excelforum.com/member.php...o&userid=20336
View this thread: http://www.excelforum.com/showthread...hreadid=568919


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
Is it possible? DakotaNJ Excel Worksheet Functions 25 September 18th 06 09:30 PM
assign formula to another cell Dannycol Excel Worksheet Functions 3 May 12th 06 09:46 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


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