Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

Mult formula cell displays "0", which formula created result?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Reveal which formula causing true result - 24 May 2008 15:52 GMT
I am using the same formula format in 64 cells, they all return the correct
results except for one. The format is identical, refferanced cells are
correct in ID and contents.

There is no explination why the results are different in this one instance,
I would like to see which of the eight "IF" formulas in the cell is coming up
true and therefore displaying this result so I can further trace possible
causes, but I can not find a way for the active formula it to show itself by
becoming highlighted (or something).
Mike H - 24 May 2008 16:06 GMT
Hi,

Wihout seeing either your data or your formula it's difficult but try this.
Put this if formula in a cell

=IF(A1=1,"one","Two")

Then in the formula bar highlight A1=1 and tap F9 and you will see whether
it is evaluating as TRUE ot FALSE. When you'e done this click the red cross.
It may be useful used on your formula,

Mike

> I am using the same formula format in 64 cells, they all return the correct
> results except for one. The format is identical, refferanced cells are
[quoted text clipped - 5 lines]
> causes, but I can not find a way for the active formula it to show itself by
> becoming highlighted (or something).
Rick Rothstein (MVP - VB) - 24 May 2008 16:11 GMT
One way to do what you want would be to set a break point on your first "IF"
statement (click in the left gray border next to the statement to highlight
it in red), run your code and single-step (press F8) through the code
watching it execute your code line-by-line. You can also print out the
contents of your variables in the Immediate window at any stage in the
process to see what is going on line-by-line.

Rick

>I am using the same formula format in 64 cells, they all return the correct
> results except for one. The format is identical, refferanced cells are
[quoted text clipped - 8 lines]
> by
> becoming highlighted (or something).
Rick Rothstein (MVP - VB) - 24 May 2008 16:16 GMT
Ignore my posting... I thought I was still in the "programming" newsgroup
when I posted it.

Rick

> One way to do what you want would be to set a break point on your first
> "IF" statement (click in the left gray border next to the statement to
[quoted text clipped - 18 lines]
>> by
>> becoming highlighted (or something).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.