A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

EXCEL (IF)



 
 
Thread Tools Display Modes
  #1  
Old May 12th, 2010, 12:07 PM posted to microsoft.public.excel.misc
Alicia-Paris
external usenet poster
 
Posts: 1
Default EXCEL (IF)

COLUMN E has a range from 1-5, COLUMN F I want to show a number depending on
COLUMN E. E.g. if e1=1 then f1=12, if e2=4 then f1=57. I want the F COLUMN to
depend on the E COLUMN. But I am not sure how to do this.

The IF function doesnt work because I want there to be 5 conditions.

Basically.... 1= one number 2= a different number 3= a diff number and so
on; and with this, depending on which number gets put in cell E (1-5), i want
F to reflect the true number.

Please help guys as this is driving me bonkers!
  #2  
Old May 12th, 2010, 12:13 PM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 8,419
Default EXCEL (IF)

Hi,

This isn't; to me, very clear but maybe this

=CHOOSE(E1,12,57,67,77,87)

Now if e1 is 1 the formula returns 12, If e1=2 it returns 57 etc
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Alicia-Paris" wrote:

COLUMN E has a range from 1-5, COLUMN F I want to show a number depending on
COLUMN E. E.g. if e1=1 then f1=12, if e2=4 then f1=57. I want the F COLUMN to
depend on the E COLUMN. But I am not sure how to do this.

The IF function doesnt work because I want there to be 5 conditions.

Basically.... 1= one number 2= a different number 3= a diff number and so
on; and with this, depending on which number gets put in cell E (1-5), i want
F to reflect the true number.

Please help guys as this is driving me bonkers!

  #3  
Old May 12th, 2010, 12:23 PM posted to microsoft.public.excel.misc
Alicia-Paris[_2_]
external usenet poster
 
Posts: 6
Default EXCEL (IF)

It didnt work.

Basically: 1=36, 2=72, 3=108, 4=132, 5=165.

COLUMN E comes from a different worksheet via macros, so i want COLUMN F to
then show the true value between 1-5 to the numbers shown above.

i.e.

e3= 4............... therefore i want f3= 132

"Mike H" wrote:

Hi,

This isn't; to me, very clear but maybe this

=CHOOSE(E1,12,57,67,77,87)

Now if e1 is 1 the formula returns 12, If e1=2 it returns 57 etc
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Alicia-Paris" wrote:

COLUMN E has a range from 1-5, COLUMN F I want to show a number depending on
COLUMN E. E.g. if e1=1 then f1=12, if e2=4 then f1=57. I want the F COLUMN to
depend on the E COLUMN. But I am not sure how to do this.

The IF function doesnt work because I want there to be 5 conditions.

Basically.... 1= one number 2= a different number 3= a diff number and so
on; and with this, depending on which number gets put in cell E (1-5), i want
F to reflect the true number.

Please help guys as this is driving me bonkers!

  #4  
Old May 12th, 2010, 12:25 PM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default EXCEL (IF)

Try

=IF(E1,CHOOSE(E1,12,57,67,77,87),"")

--
Jacob (MVP - Excel)


"Alicia-Paris" wrote:

COLUMN E has a range from 1-5, COLUMN F I want to show a number depending on
COLUMN E. E.g. if e1=1 then f1=12, if e2=4 then f1=57. I want the F COLUMN to
depend on the E COLUMN. But I am not sure how to do this.

The IF function doesnt work because I want there to be 5 conditions.

Basically.... 1= one number 2= a different number 3= a diff number and so
on; and with this, depending on which number gets put in cell E (1-5), i want
F to reflect the true number.

Please help guys as this is driving me bonkers!

  #5  
Old May 12th, 2010, 12:26 PM posted to microsoft.public.excel.misc
Alicia-Paris[_2_]
external usenet poster
 
Posts: 6
Default EXCEL (IF)

Also, i forgot to add.... the COLUMN E cells already have something in them..
they are hyperlinked to another workbook. i.e. the number in them is from
another sheet. i have just put in the cell : =(cell from other workbook)

"Alicia-Paris" wrote:

COLUMN E has a range from 1-5, COLUMN F I want to show a number depending on
COLUMN E. E.g. if e1=1 then f1=12, if e2=4 then f1=57. I want the F COLUMN to
depend on the E COLUMN. But I am not sure how to do this.

The IF function doesnt work because I want there to be 5 conditions.

Basically.... 1= one number 2= a different number 3= a diff number and so
on; and with this, depending on which number gets put in cell E (1-5), i want
F to reflect the true number.

Please help guys as this is driving me bonkers!

  #6  
Old May 12th, 2010, 12:31 PM posted to microsoft.public.excel.misc
Alicia-Paris[_2_]
external usenet poster
 
Posts: 6
Default EXCEL (IF)

THANKS, BUT DIDNT WRK NEITHER

"Jacob Skaria" wrote:

Try

=IF(E1,CHOOSE(E1,12,57,67,77,87),"")

--
Jacob (MVP - Excel)


"Alicia-Paris" wrote:

COLUMN E has a range from 1-5, COLUMN F I want to show a number depending on
COLUMN E. E.g. if e1=1 then f1=12, if e2=4 then f1=57. I want the F COLUMN to
depend on the E COLUMN. But I am not sure how to do this.

The IF function doesnt work because I want there to be 5 conditions.

Basically.... 1= one number 2= a different number 3= a diff number and so
on; and with this, depending on which number gets put in cell E (1-5), i want
F to reflect the true number.

Please help guys as this is driving me bonkers!

  #7  
Old May 12th, 2010, 12:36 PM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default EXCEL (IF)

Mike has mentioned which function to be used. Check out help on CHOOSE() and
modify the values to suit.

Incase the cell in E1 do not have a value; the formula will return an
error., You can handle that using the IF() statement mentioned in the
previous formula....

--
Jacob (MVP - Excel)


"Alicia-Paris" wrote:

THANKS, BUT DIDNT WRK NEITHER

"Jacob Skaria" wrote:

Try

=IF(E1,CHOOSE(E1,12,57,67,77,87),"")

--
Jacob (MVP - Excel)


"Alicia-Paris" wrote:

COLUMN E has a range from 1-5, COLUMN F I want to show a number depending on
COLUMN E. E.g. if e1=1 then f1=12, if e2=4 then f1=57. I want the F COLUMN to
depend on the E COLUMN. But I am not sure how to do this.

The IF function doesnt work because I want there to be 5 conditions.

Basically.... 1= one number 2= a different number 3= a diff number and so
on; and with this, depending on which number gets put in cell E (1-5), i want
F to reflect the true number.

Please help guys as this is driving me bonkers!

  #8  
Old May 12th, 2010, 01:41 PM posted to microsoft.public.excel.misc
Reg
external usenet poster
 
Posts: 71
Default EXCEL (IF)

unless i miss something important Column F is always 36 x column E

so in your example:

put "=36*E3" in F3 and copy down

If you got the example wrong (the text says 'true value between 1-5') then
the formula might be "=36/E3"

hth
RegMigrant

"Alicia-Paris" wrote:

It didnt work.

Basically: 1=36, 2=72, 3=108, 4=132, 5=165.

COLUMN E comes from a different worksheet via macros, so i want COLUMN F to
then show the true value between 1-5 to the numbers shown above.

i.e.

e3= 4............... therefore i want f3= 132

"Mike H" wrote:

Hi,

This isn't; to me, very clear but maybe this

=CHOOSE(E1,12,57,67,77,87)

Now if e1 is 1 the formula returns 12, If e1=2 it returns 57 etc
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Alicia-Paris" wrote:

COLUMN E has a range from 1-5, COLUMN F I want to show a number depending on
COLUMN E. E.g. if e1=1 then f1=12, if e2=4 then f1=57. I want the F COLUMN to
depend on the E COLUMN. But I am not sure how to do this.

The IF function doesnt work because I want there to be 5 conditions.

Basically.... 1= one number 2= a different number 3= a diff number and so
on; and with this, depending on which number gets put in cell E (1-5), i want
F to reflect the true number.

Please help guys as this is driving me bonkers!

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.