#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Formula help please

i am a noob when it comes to excel formula's

this is what i want i hope it can be done

if in cell A1 i have the word New York i would like to have cell A7 show a
number like a 25

Cell A1
New York

As soon is that is typed in

Cell A7
25
Pops up

what is the formula i put in A7 so that can happen please

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Formula help please

=IF(A1="New York",25,"")
Regards,
Stefi

shallowz ezt *rta:

i am a noob when it comes to excel formula's

this is what i want i hope it can be done

if in cell A1 i have the word New York i would like to have cell A7 show a
number like a 25

Cell A1
New York

As soon is that is typed in

Cell A7
25
Pops up

what is the formula i put in A7 so that can happen please

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Formula help please

=IF(A1="New York",27,"")

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


"shallowz" wrote:

i am a noob when it comes to excel formula's

this is what i want i hope it can be done

if in cell A1 i have the word New York i would like to have cell A7 show a
number like a 25

Cell A1
New York

As soon is that is typed in

Cell A7
25
Pops up

what is the formula i put in A7 so that can happen please

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Formula help please

Try something like this...

=IF(A1="Test","true result", "false result")

"shallowz" wrote:

i am a noob when it comes to excel formula's

this is what i want i hope it can be done

if in cell A1 i have the word New York i would like to have cell A7 show a
number like a 25

Cell A1
New York

As soon is that is typed in

Cell A7
25
Pops up

what is the formula i put in A7 so that can happen please

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Formula help please

=IF(A1="New York",25,"")
it ends with a pair of double-quotes with nothing between them
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"shallowz" wrote in message
...
i am a noob when it comes to excel formula's

this is what i want i hope it can be done

if in cell A1 i have the word New York i would like to have cell A7 show a
number like a 25

Cell A1
New York

As soon is that is typed in

Cell A7
25
Pops up

what is the formula i put in A7 so that can happen please




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Formula help please

Thank you very much that did work
how do i make it so if i have two or more to add like
Maine will equal the number 48 and
Alaska will equal the number 13

thanks so far for your help

"Stefi" wrote:

=IF(A1="New York",25,"")
Regards,
Stefi

shallowz ezt *rta:

i am a noob when it comes to excel formula's

this is what i want i hope it can be done

if in cell A1 i have the word New York i would like to have cell A7 show a
number like a 25

Cell A1
New York

As soon is that is typed in

Cell A7
25
Pops up

what is the formula i put in A7 so that can happen please

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Formula help please

Your best bet here is to make a 'lookup table' containing the values you want
referenced and displayed. Then use the LOOKUP function (See the 'Array form'
of the lookup function) to find the value that you want.

"shallowz" wrote:

Thank you very much that did work
how do i make it so if i have two or more to add like
Maine will equal the number 48 and
Alaska will equal the number 13

thanks so far for your help

"Stefi" wrote:

=IF(A1="New York",25,"")
Regards,
Stefi

shallowz ezt *rta:

i am a noob when it comes to excel formula's

this is what i want i hope it can be done

if in cell A1 i have the word New York i would like to have cell A7 show a
number like a 25

Cell A1
New York

As soon is that is typed in

Cell A7
25
Pops up

what is the formula i put in A7 so that can happen please

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Formula help please

=LOOKUP(A1,{"Alaska","Maine","New York",""},{13,48,25,""})

If more cases, use a VLOOKUP table.


Gord Dibben MS Excel MVP

On Tue, 7 Jul 2009 06:55:01 -0700, shallowz
wrote:

Thank you very much that did work
how do i make it so if i have two or more to add like
Maine will equal the number 48 and
Alaska will equal the number 13

thanks so far for your help

"Stefi" wrote:

=IF(A1="New York",25,"")
Regards,
Stefi

shallowz ezt rta:

i am a noob when it comes to excel formula's

this is what i want i hope it can be done

if in cell A1 i have the word New York i would like to have cell A7 show a
number like a 25

Cell A1
New York

As soon is that is typed in

Cell A7
25
Pops up

what is the formula i put in A7 so that can happen please


  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Formula help please

dear sir

i am working in office excel 2003. when i load any macro it says "Macros in
this workbook are disabled because the security level is high,and the macros
have not been digitally signed or verified as safe. To run the macros. you
can either have them signed or change your security level. click help for
more information."

who i enable the workbook.

thanks.
raju
mumbai

"Stefi" wrote:

=IF(A1="New York",25,"")
Regards,
Stefi

shallowz ezt *rta:

i am a noob when it comes to excel formula's

this is what i want i hope it can be done

if in cell A1 i have the word New York i would like to have cell A7 show a
number like a 25

Cell A1
New York

As soon is that is typed in

Cell A7
25
Pops up

what is the formula i put in A7 so that can happen please

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formula help please

Start excel (don't open that workbook).
Tools|Macro|Security|Security level tab|

Change it to Medium and you'll be prompted to allow macros each time you open a
workbook with macros.

Change it to low (microsoft doesn't recomment this!) and you'll never be
prompted, but you may be running macros that are not nice!

raju wrote:

dear sir

i am working in office excel 2003. when i load any macro it says "Macros in
this workbook are disabled because the security level is high,and the macros
have not been digitally signed or verified as safe. To run the macros. you
can either have them signed or change your security level. click help for
more information."

who i enable the workbook.

thanks.
raju
mumbai

"Stefi" wrote:

=IF(A1="New York",25,"")
Regards,
Stefi

shallowz ezt *rta:

i am a noob when it comes to excel formula's

this is what i want i hope it can be done

if in cell A1 i have the word New York i would like to have cell A7 show a
number like a 25

Cell A1
New York

As soon is that is typed in

Cell A7
25
Pops up

what is the formula i put in A7 so that can happen please


--

Dave Peterson
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 03:17 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"