Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lance Gray
 
Posts: n/a
Default IF statement to check cell contents

I am trying to check the contents of a cell that displays text, but there is
a formula in that cell. When I look for the text in the cell, I get an
error, since I assume that it is really checking the formula and not the text
name that is displayed.
How can I check the text and not the actual formula in the cell?
THanks,
Lance
  #2   Report Post  
Bill Kuunders
 
Posts: n/a
Default

It will check for the text but you need to encapsulate it in ""

example =if(A2="March",3,"no month entered")

Greetings from New Zealand
Bill K
"Lance Gray" wrote in message
...
I am trying to check the contents of a cell that displays text, but there
is
a formula in that cell. When I look for the text in the cell, I get an
error, since I assume that it is really checking the formula and not the
text
name that is displayed.
How can I check the text and not the actual formula in the cell?
THanks,
Lance



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
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
"Check Marking" a cell FVC Excel Discussion (Misc queries) 2 April 8th 05 09:21 PM
How can I edit cell contents with a macro in Excel? Mind the gaps! Excel Discussion (Misc queries) 2 March 23rd 05 08:51 PM
Insert new row as cell contents change George Excel Discussion (Misc queries) 2 January 26th 05 11:47 AM
VBA Command to Look at cell in an If statement Wolf New Users to Excel 3 December 27th 04 11:27 PM


All times are GMT +1. The time now is 08:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"