#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default IF

What is wrong with this function?
=IF(Recap!A1=C112,1,0)

What I'm trying to do if I type in C112 into cell A1 then the selected cell
which is on another worksheet in the same book is equal to 1 then if not then
equal to 0.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default IF

Hi,

its treating C112 as an adress so put it in quotes.

=IF(Recap!A1="C112",1,0)

mike

"dpal" wrote:

What is wrong with this function?
=IF(Recap!A1=C112,1,0)

What I'm trying to do if I type in C112 into cell A1 then the selected cell
which is on another worksheet in the same book is equal to 1 then if not then
equal to 0.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default IF

Mike , I had tried that it didn't work. Also tried hypnes.
Even on the dialoge box it says false.

"Mike H" wrote:

Hi,

its treating C112 as an adress so put it in quotes.

=IF(Recap!A1="C112",1,0)

mike

"dpal" wrote:

What is wrong with this function?
=IF(Recap!A1=C112,1,0)

What I'm trying to do if I type in C112 into cell A1 then the selected cell
which is on another worksheet in the same book is equal to 1 then if not then
equal to 0.

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default IF

I just recreated Mike's suggestino and it worked. Verify each charater to
make sure that it is what you think and the case is the same (C112 does not
equal c112)
--
Bill


"dpal" wrote:

Mike , I had tried that it didn't work. Also tried hypnes.
Even on the dialoge box it says false.

"Mike H" wrote:

Hi,

its treating C112 as an adress so put it in quotes.

=IF(Recap!A1="C112",1,0)

mike

"dpal" wrote:

What is wrong with this function?
=IF(Recap!A1=C112,1,0)

What I'm trying to do if I type in C112 into cell A1 then the selected cell
which is on another worksheet in the same book is equal to 1 then if not then
equal to 0.

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default IF

Mike, I got it. The format of the A1 cell was not TEXT it was on number. Once
I changed it to text it worked.

Thanks

"Mike H" wrote:

Hi,

its treating C112 as an adress so put it in quotes.

=IF(Recap!A1="C112",1,0)

mike

"dpal" wrote:

What is wrong with this function?
=IF(Recap!A1=C112,1,0)

What I'm trying to do if I type in C112 into cell A1 then the selected cell
which is on another worksheet in the same book is equal to 1 then if not then
equal to 0.

Thanks

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



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