Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Help with function / formula

My mind is gone and I can't think of the correct formula.
in Col A I have Y or N but I want to have a formula in another cell AE to
put a 1 or 0 in another cell - a the moment I get #name?


Many thanks
Cassie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 703
Default Help with function / formula

Hi Cassie

Suppose you want Y to return 1 and N to return 0, use this

=If(A1="Y",1,if(A1="N",0,""))

Regards,
Per

On 15 Sep., 15:52, Cassie wrote:
My mind is gone and I can't think of the correct formula.
in Col A I have Y or N but I want to have a formula in another cell AE to
put a 1 or 0 in another cell - a the moment I get #name?

Many thanks
Cassie


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Help with function / formula

If you mean to say you need 1/0 in Col AE; try the below in cell AE2

=--(A2="Y")

If this post helps click Yes
---------------
Jacob Skaria


"Cassie" wrote:

My mind is gone and I can't think of the correct formula.
in Col A I have Y or N but I want to have a formula in another cell AE to
put a 1 or 0 in another cell - a the moment I get #name?


Many thanks
Cassie

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Help with function / formula

Hi Cassie, try this:-

=IF(A1="y",1,0)

Putting a y in cell A1 will put a 1 in B1 (for example).

Putting a n in cell A1 will put a 0 in B1 (for example).

Please hit Yes if my posting has been helpful to you.

Thanks!






"Cassie" wrote:

My mind is gone and I can't think of the correct formula.
in Col A I have Y or N but I want to have a formula in another cell AE to
put a 1 or 0 in another cell - a the moment I get #name?


Many thanks
Cassie

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Help with function / formula

If you're getting #name? you may want to tell us what formula you are using.
--
David Biddulph

"Cassie" wrote in message
...
My mind is gone and I can't think of the correct formula.
in Col A I have Y or N but I want to have a formula in another cell AE to
put a 1 or 0 in another cell - a the moment I get #name?


Many thanks
Cassie



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
Help with OR function in IF function formula veggies27 Excel Worksheet Functions 3 March 18th 08 10:04 PM
What formula/function can I use? mekus31 New Users to Excel 12 July 10th 07 11:59 PM
how do i add a function to a formula? david_b2 Excel Discussion (Misc queries) 9 October 10th 06 05:15 PM
Help with formula/function [email protected] Excel Worksheet Functions 0 September 28th 06 09:21 PM
A formula/function to return a formula/function sith janitor Excel Worksheet Functions 4 September 22nd 06 05:01 PM


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