#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 447
Default "IF" Formula

I need help with a formula (not necessarily "IF") which will help me display
the following results:

Analyst Remarks
A ON PROBATION
B
A ON PROBATION
D
C ON PROBATION
B
B
D
E EDITOR
F
G TEAM LEAD
F
E EDITOR
G TEAM LEAD
G TEAM LEAD

I would like to have a formula in the "Remarks" column where if it detects A
in the "Analyst" column, ON PROBATION will appear. If the "Analyst" column
shows G, TEAM LEAD will appear. Similarly, if "Analyst" column is E,
"Remarks" column will show EDITOR.

Thanks,
Karen
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 97
Default "IF" Formula

Hi Karen,

Press F1 for help, and take a look at vlookup() formula ...

HTH

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default "IF" Formula

Place in B2, copy down:
=IF(ISNA(MATCH(A2,{"A";"E";"G"},0)),"",VLOOKUP(A2, {"A","ON
PROBATION";"E","EDITOR";"G","TEAM LEAD"},2,0))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Karen" wrote in message
...
I need help with a formula (not necessarily "IF") which will help me
display
the following results:

Analyst Remarks
A ON PROBATION
B
A ON PROBATION
D
C ON PROBATION
B
B
D
E EDITOR
F
G TEAM LEAD
F
E EDITOR
G TEAM LEAD
G TEAM LEAD

I would like to have a formula in the "Remarks" column where if it detects
A
in the "Analyst" column, ON PROBATION will appear. If the "Analyst" column
shows G, TEAM LEAD will appear. Similarly, if "Analyst" column is E,
"Remarks" column will show EDITOR.

Thanks,
Karen



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default "IF" Formula

If you only have a "few" variables then you can use an IF formula:

=IF(A2="A","ON PROBATION",IF(A2="E","EDITOR",IF(A2="G","TEAM LEAD","")))

Copy down as needed.

If you have more than a "few" variables then you should create a 2 column
table like this:

...........AA.................AB..............
1.......A...........ON PROBATION
2.......E...........EDITOR
3.......G..........TEAM LEAD
4.......B..........XXX
5.......F..........YYY

Then you could use a lookup formula:

=VLOOUP(A2,AA$1:AB$5,2,0)

Copy down as needed.

--
Biff
Microsoft Excel MVP


"Karen" wrote in message
...
I need help with a formula (not necessarily "IF") which will help me
display
the following results:

Analyst Remarks
A ON PROBATION
B
A ON PROBATION
D
C ON PROBATION
B
B
D
E EDITOR
F
G TEAM LEAD
F
E EDITOR
G TEAM LEAD
G TEAM LEAD

I would like to have a formula in the "Remarks" column where if it detects
A
in the "Analyst" column, ON PROBATION will appear. If the "Analyst" column
shows G, TEAM LEAD will appear. Similarly, if "Analyst" column is E,
"Remarks" column will show EDITOR.

Thanks,
Karen



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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
conditional formula to show "open" or "closed" SBS Excel Worksheet Functions 6 January 28th 06 01:48 AM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


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

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"