#1   Report Post  
Posted to microsoft.public.excel.misc
TQ
 
Posts: n/a
Default Formula

Can anyone show me the fomula under the condition of below ?

Column A1 got a list. List data = A,B,C
Column B1 will get info from another colum according what A1 appear.
Column E1=ABC
Column E2=BCD
Column E3=CDE

If,
A1=A
B1 will get answer from E1
if,
A1=B
B1 will get answer from E2
if,
A1=C
B1 will get answer from E3

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
Scott
 
Posts: n/a
Default Formula

=If(A1="A",E1,If(A1="B",E2,E3))

Or dont use the columns

=If(A1="A","ABC",If(A1="B","BCD","CDE"))



"TQ" wrote:

Can anyone show me the fomula under the condition of below ?

Column A1 got a list. List data = A,B,C
Column B1 will get info from another colum according what A1 appear.
Column E1=ABC
Column E2=BCD
Column E3=CDE

If,
A1=A
B1 will get answer from E1
if,
A1=B
B1 will get answer from E2
if,
A1=C
B1 will get answer from E3

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
Scott
 
Posts: n/a
Default Formula

Only use quotes "A" for text for numbers just put the number.

=If(A1="A",E1,If(A1="B",E2,E3))

Or dont use the columns

=If(A1="A","ABC",If(A1="B","BCD","CDE"))


"TQ" wrote:

Can anyone show me the fomula under the condition of below ?

Column A1 got a list. List data = A,B,C
Column B1 will get info from another colum according what A1 appear.
Column E1=ABC
Column E2=BCD
Column E3=CDE

If,
A1=A
B1 will get answer from E1
if,
A1=B
B1 will get answer from E2
if,
A1=C
B1 will get answer from E3

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default Formula

Hi

One way, provided the entries in A1 are always going to be single alpha
characters
=INDEX(E1:E3,(CODE(A1)-64))

--
Regards

Roger Govier


"TQ" wrote in message
...
Can anyone show me the fomula under the condition of below ?

Column A1 got a list. List data = A,B,C
Column B1 will get info from another colum according what A1 appear.
Column E1=ABC
Column E2=BCD
Column E3=CDE

If,
A1=A
B1 will get answer from E1
if,
A1=B
B1 will get answer from E2
if,
A1=C
B1 will get answer from E3

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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 06:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 06:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 04:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 01:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 05:37 PM


All times are GMT +1. The time now is 08:05 AM.

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"