#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default excel formula

I have a set group of numbers associated with letters. I need to know what
formula I would use to accomplish the following:

if (cell #1 = 1.26 then (Cell #2) = G
f (cell #1 = 1.22 then (Cell #2) = c

and so on. I would like to be able to input the number and have the letter
show up inj another are.

Thanks:)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 459
Default excel formula

snwooz wrote:
I have a set group of numbers associated with letters. I need to
know what formula I would use to accomplish the following:

if (cell #1 = 1.26 then (Cell #2) = G
f (cell #1 = 1.22 then (Cell #2) = c

and so on. I would like to be able to input the number and have the
letter show up inj another are.

Thanks:)



You can use a VLOOKUP formula; you can build a Vlookup table and use the
formula, or just incapsulate the table into the formula.

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default excel formula

I am still confused. My table looks like this:

1 2

A 1.26 G

B 1.22 C

Can you please offer example. Don't use this much :)

"Franz Verga" wrote:

snwooz wrote:
I have a set group of numbers associated with letters. I need to
know what formula I would use to accomplish the following:

if (cell #1 = 1.26 then (Cell #2) = G
f (cell #1 = 1.22 then (Cell #2) = c

and so on. I would like to be able to input the number and have the
letter show up inj another are.

Thanks:)



You can use a VLOOKUP formula; you can build a Vlookup table and use the
formula, or just incapsulate the table into the formula.

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 459
Default excel formula

snwooz wrote:
I am still confused. My table looks like this:

1 2

A 1.26 G

B 1.22 C

Can you please offer example. Don't use this much :)

"Franz Verga" wrote:

snwooz wrote:
I have a set group of numbers associated with letters. I need to
know what formula I would use to accomplish the following:

if (cell #1 = 1.26 then (Cell #2) = G
f (cell #1 = 1.22 then (Cell #2) = c

and so on. I would like to be able to input the number and have the
letter show up inj another are.

Thanks:)



=VLOOKUP(A1,{1.26,"G";1.22,"C"},2,0)

where A1 is your input cell.


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default excel formula

PERFECT!!!! tHANKS:)

"Franz Verga" wrote:

snwooz wrote:
I am still confused. My table looks like this:

1 2

A 1.26 G

B 1.22 C

Can you please offer example. Don't use this much :)

"Franz Verga" wrote:

snwooz wrote:
I have a set group of numbers associated with letters. I need to
know what formula I would use to accomplish the following:

if (cell #1 = 1.26 then (Cell #2) = G
f (cell #1 = 1.22 then (Cell #2) = c

and so on. I would like to be able to input the number and have the
letter show up inj another are.

Thanks:)


=VLOOKUP(A1,{1.26,"G";1.22,"C"},2,0)

where A1 is your input cell.


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default excel formula

IS it possible to set the formula to go either way. If A1 and B1 are my
input cells, can the formula work so that if I put in 1.26 in A1, G comes up
in B1 or if I put G in B1, 1.26 comes up in A1?

"Franz Verga" wrote:

snwooz wrote:
I am still confused. My table looks like this:

1 2

A 1.26 G

B 1.22 C

Can you please offer example. Don't use this much :)

"Franz Verga" wrote:

snwooz wrote:
I have a set group of numbers associated with letters. I need to
know what formula I would use to accomplish the following:

if (cell #1 = 1.26 then (Cell #2) = G
f (cell #1 = 1.22 then (Cell #2) = c

and so on. I would like to be able to input the number and have the
letter show up inj another are.

Thanks:)


=VLOOKUP(A1,{1.26,"G";1.22,"C"},2,0)

where A1 is your input cell.


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 459
Default excel formula

You have to decide which are your input cells and which are the result
cells: in a cell you can have a result from a formula or an input, not
both...

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy

"snwooz" ha scritto nel messaggio
...
IS it possible to set the formula to go either way. If A1 and B1 are my
input cells, can the formula work so that if I put in 1.26 in A1, G comes
up
in B1 or if I put G in B1, 1.26 comes up in A1?

"Franz Verga" wrote:

snwooz wrote:
I am still confused. My table looks like this:

1 2

A 1.26 G

B 1.22 C

Can you please offer example. Don't use this much :)

"Franz Verga" wrote:

snwooz wrote:
I have a set group of numbers associated with letters. I need to
know what formula I would use to accomplish the following:

if (cell #1 = 1.26 then (Cell #2) = G
f (cell #1 = 1.22 then (Cell #2) = c

and so on. I would like to be able to input the number and have the
letter show up inj another are.

Thanks:)


=VLOOKUP(A1,{1.26,"G";1.22,"C"},2,0)

where A1 is your input cell.


--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy





  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default excel formula

what you require is "nested if". see help "if" and examples therein. you
have to enter the formula in the cell 2.


"snwooz" wrote in message
...
I have a set group of numbers associated with letters. I need to know what
formula I would use to accomplish the following:

if (cell #1 = 1.26 then (Cell #2) = G
f (cell #1 = 1.22 then (Cell #2) = c

and so on. I would like to be able to input the number and have the
letter
show up inj another are.

Thanks:)



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default excel formula

OK, first post put me on the right track. I have on that works, now i need
to it work for all 5 numbers.

Thanks

"R..VENKATARAMAN" wrote:

what you require is "nested if". see help "if" and examples therein. you
have to enter the formula in the cell 2.


"snwooz" wrote in message
...
I have a set group of numbers associated with letters. I need to know what
formula I would use to accomplish the following:

if (cell #1 = 1.26 then (Cell #2) = G
f (cell #1 = 1.22 then (Cell #2) = c

and so on. I would like to be able to input the number and have the
letter
show up inj another are.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel displaying formulae as constant and not calculating formula gpbell Excel Worksheet Functions 2 February 16th 06 08:26 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
How can i get an If formula in excel to edit another cell? Jimmy Hoffa Excel Worksheet Functions 2 August 16th 05 05:53 PM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


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