#1   Report Post  
Posted to microsoft.public.excel.misc
sheen
 
Posts: n/a
Default text formula help


I need a formula that will hide the aswer to a picture, unless the
correct answer is typed in the cell.

For example, if the answer to cell B5 is Bread, and Bread is typed into
that cell, I need Bread to appear in B5 and the word Correct in cell
B4.

I've tried using the IF function and keep getting a NAME error.

Can anyone help please?


--
sheen
------------------------------------------------------------------------
sheen's Profile: http://www.excelforum.com/member.php...o&userid=32712
View this thread: http://www.excelforum.com/showthread...hreadid=525454

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bill Kuunders
 
Posts: n/a
Default text formula help

You would need to have a cell with the correct answer. Say that would be B6
In B4 enter =if(B5=B6,"correct","try again")

--
Greetings from New Zealand
Bill K
"sheen" wrote in
message ...

I need a formula that will hide the aswer to a picture, unless the
correct answer is typed in the cell.

For example, if the answer to cell B5 is Bread, and Bread is typed into
that cell, I need Bread to appear in B5 and the word Correct in cell
B4.

I've tried using the IF function and keep getting a NAME error.

Can anyone help please?


--
sheen
------------------------------------------------------------------------
sheen's Profile:
http://www.excelforum.com/member.php...o&userid=32712
View this thread: http://www.excelforum.com/showthread...hreadid=525454



  #3   Report Post  
Posted to microsoft.public.excel.misc
pau1a
 
Posts: n/a
Default text formula help

Hi

One way is to use conditional formatting.

Select cell B5, then format, conditional formatting - you can change the font
from there and one idea would be to have the font be white if they didn't
type in "bread", although a less problematic solution may be to select
crossed through so the person can see what they typed.

The formula for B6 would be =IF(LOWER(E10)="bread","correct"," ")
the lower bit is to ensure that the result is not case sensitive, i.e. Bread
and bread would both return correct.

Hope this helps



sheen wrote:
I need a formula that will hide the aswer to a picture, unless th
correct answer is typed in the cell.

For example, if the answer to cell B5 is Bread, and Bread is typed int
that cell, I need Bread to appear in B5 and the word Correct in cel
B4.

I've tried using the IF function and keep getting a NAME error.

Can anyone help please?:confused

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bill Kuunders
 
Posts: n/a
Default text formula help


=IF(B5="Bread","correct","try again")

you could have a hidden row somewhere with all the correct answers
and change the formula in B4 to =IF(B5=B25,"correct","try again")
and extend the formula accross.
--
Greetings from New Zealand
Bill K
"sheen" wrote in
message ...

I need a formula that will hide the aswer to a picture, unless the
correct answer is typed in the cell.

For example, if the answer to cell B5 is Bread, and Bread is typed into
that cell, I need Bread to appear in B5 and the word Correct in cell
B4.

I've tried using the IF function and keep getting a NAME error.

Can anyone help please?


--
sheen
------------------------------------------------------------------------
sheen's Profile:
http://www.excelforum.com/member.php...o&userid=32712
View this thread: http://www.excelforum.com/showthread...hreadid=525454



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
Convert text to formula - Help pleaaase Ayrton Excel Discussion (Misc queries) 5 December 7th 05 05:26 PM
text in formula explaining formula not to print Leon Klopper Excel Worksheet Functions 1 June 24th 05 01:04 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
Using the text from a cell as a range name in a formula Fletch Excel Discussion (Misc queries) 3 June 13th 05 07:57 PM
Concatenation formula loses text wrap formatting DFM Excel Discussion (Misc queries) 5 December 27th 04 01:45 PM


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