Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default Default of IF statement doesn't work when copied

A seperate workbook is used when designing any additions for our price book.
Upon completion, the additional item is copied, then Inserted into each
price book.
This has always worked great, till now.
The following formula works great on my "design" sheet.
After inserting into the price books, if there is NO selection (or selection
deleted)
in cell D336, cell E336 still returns a "1", NOT the expected "0".

=IF(D336="Front",1,IF(D336="Rear",1,IF(D336="Both" ,2,0)))

What is happening? How to fix?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 430
Default Default of IF statement doesn't work when copied

I just did a little test and it seemed to work as intended for me. After you
copy the formula is it as shown in your example or perhaps it is still
pointing to your test sheet? (As in referring to the data in your test sheet
rather than your price book.)

"BEEJAY" wrote:

A seperate workbook is used when designing any additions for our price book.
Upon completion, the additional item is copied, then Inserted into each
price book.
This has always worked great, till now.
The following formula works great on my "design" sheet.
After inserting into the price books, if there is NO selection (or selection
deleted)
in cell D336, cell E336 still returns a "1", NOT the expected "0".

=IF(D336="Front",1,IF(D336="Rear",1,IF(D336="Both" ,2,0)))

What is happening? How to fix?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default Default of IF statement doesn't work when copied

Tim: Thanks for the ideas.
I've checked all the cells over and over.
I've looked at the formating of each cell, comparing the original to the
non-responsive one.
I just copied the non-responsive lines to a new, blank worksheet and the
formulas work great!!
What could I possibly have in my working sheet that would stop this
statement from working?


"tim m" wrote:

I just did a little test and it seemed to work as intended for me. After you
copy the formula is it as shown in your example or perhaps it is still
pointing to your test sheet? (As in referring to the data in your test sheet
rather than your price book.)

"BEEJAY" wrote:

A seperate workbook is used when designing any additions for our price book.
Upon completion, the additional item is copied, then Inserted into each
price book.
This has always worked great, till now.
The following formula works great on my "design" sheet.
After inserting into the price books, if there is NO selection (or selection
deleted)
in cell D336, cell E336 still returns a "1", NOT the expected "0".

=IF(D336="Front",1,IF(D336="Rear",1,IF(D336="Both" ,2,0)))

What is happening? How to fix?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default Default of IF statement doesn't work when copied

ALSO:
I tried making up the required entries from scratch ( as oppossed to
copying), but still got the same incorrect result.

I'm totally stumped!


"tim m" wrote:

I just did a little test and it seemed to work as intended for me. After you
copy the formula is it as shown in your example or perhaps it is still
pointing to your test sheet? (As in referring to the data in your test sheet
rather than your price book.)

"BEEJAY" wrote:

A seperate workbook is used when designing any additions for our price book.
Upon completion, the additional item is copied, then Inserted into each
price book.
This has always worked great, till now.
The following formula works great on my "design" sheet.
After inserting into the price books, if there is NO selection (or selection
deleted)
in cell D336, cell E336 still returns a "1", NOT the expected "0".

=IF(D336="Front",1,IF(D336="Rear",1,IF(D336="Both" ,2,0)))

What is happening? How to fix?

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
Countif statement doesn't work on some rows Carpo Excel Worksheet Functions 0 July 14th 06 05:24 PM
How do I get an IS and IF statement to work together in excel? Heaths99 Excel Worksheet Functions 3 June 8th 06 02:38 PM
Setting a default save folder for a template postitnote100 Excel Discussion (Misc queries) 1 July 8th 05 09:30 PM
Setting and KEEPING the default chart redbelly Charts and Charting in Excel 0 June 30th 05 02:35 PM
How does Set AutoShape Default work? JEN Excel Discussion (Misc queries) 1 June 2nd 05 09:13 PM


All times are GMT +1. The time now is 02:42 AM.

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"