ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   excel formula (https://www.excelbanter.com/excel-discussion-misc-queries/104776-excel-formula.html)

snwooz

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:)

Franz Verga

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



snwooz

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




R..VENKATARAMAN

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:)




snwooz

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:)





Franz Verga

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



snwooz

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




snwooz

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




Franz Verga

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







All times are GMT +1. The time now is 03:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com