Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with OR function in IF function formula | Excel Worksheet Functions | |||
What formula/function can I use? | New Users to Excel | |||
how do i add a function to a formula? | Excel Discussion (Misc queries) | |||
Help with formula/function | Excel Worksheet Functions | |||
A formula/function to return a formula/function | Excel Worksheet Functions |