Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 88
Default Trouble with an IF statement.

I have a drop down in cell F37 that has the options AL88 and AL667. In cell
B93 I put an =IF(F37=AL88,2,0), but when cell F37 shows AL88, cell B93 is
showing 0. What did I do wrong?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Trouble with an IF statement.

You forgot the quote marks around the string "AL88"
--
David Biddulph

"Cerberus" wrote in message
...
I have a drop down in cell F37 that has the options AL88 and AL667. In
cell
B93 I put an =IF(F37=AL88,2,0), but when cell F37 shows AL88, cell B93 is
showing 0. What did I do wrong?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 88
Default Trouble with an IF statement.

I feel stupid, Thanks for your help.

"David Biddulph" wrote:

You forgot the quote marks around the string "AL88"
--
David Biddulph

"Cerberus" wrote in message
...
I have a drop down in cell F37 that has the options AL88 and AL667. In
cell
B93 I put an =IF(F37=AL88,2,0), but when cell F37 shows AL88, cell B93 is
showing 0. What did I do wrong?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Trouble with an IF statement.

Don't feel too bad. I've given up keeping track of the times I added quote
marks around something when I shouldn't have, or of not using them when I
should have. And those are the kinds of things you have to almost come to a
complete halt during your debugging and go step by step to find, and usually
a couple of times to get it right. That's when another pair of eyes, such as
David's in this case, really come in handy: they don't see what they expect
to see, they see what is actually there.

"Cerberus" wrote:

I feel stupid, Thanks for your help.

"David Biddulph" wrote:

You forgot the quote marks around the string "AL88"
--
David Biddulph

"Cerberus" wrote in message
...
I have a drop down in cell F37 that has the options AL88 and AL667. In
cell
B93 I put an =IF(F37=AL88,2,0), but when cell F37 shows AL88, cell B93 is
showing 0. What did I do wrong?




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
IRR Trouble jeff Excel Worksheet Functions 1 August 20th 07 09:42 PM
If statement trouble Carlee Excel Worksheet Functions 3 May 28th 07 10:13 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
dim trouble jocke Excel Discussion (Misc queries) 7 October 6th 05 08:55 PM
Trouble with a conditional statement Jim New Users to Excel 2 April 10th 05 10:13 PM


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