Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AA+ AA+ is offline
external usenet poster
 
Posts: 1
Default Logical Test - Returning Value

How do I return the value of Cell A2 as AA+ or No Degree in Cell B2?


Highest Education Level Description AA+ or No Degree
G-Bachelor's Level Degree AA+
C-HS Graduate No Degree


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Logical Test - Returning Value

With Description in A1 try the below formula in B1

This is based on keyword search. If keywords like Bachelor or degree is
present the formula returns AA+. You can add more keywords to suit your
requirement

=IF(A1<"",IF(COUNT(SEARCH({"Bachelor","Degree"},A 1)),"AA+","No Degree"),"")

If this post helps click Yes
---------------
Jacob Skaria


"AA+" wrote:

How do I return the value of Cell A2 as AA+ or No Degree in Cell B2?


Highest Education Level Description AA+ or No Degree
G-Bachelor's Level Degree AA+
C-HS Graduate No Degree


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Logical Test - Returning Value

I can think of two methods. Which you use depends on the complexity of your
need.

If you only have two choices, a simple If/Then/Else statement will work.

In cell B2 type =IF(A2="G-Bachelor's Level Degree","AA+","No Degree")

You can nest the IF statement for up to seven choices.

If you have more than seven choices, then create a table of those choices
with the Education Level in Column A and the Degree in Column B. Name the
table "Education". Then, in your file that needs the degree, type a VLOOKUP
formula in B2 that looks for the text in A2 in Column A of your new table,
and returns the degree in Column B.

=VLOOKUP(A2,Education,2,false)

HTH,
Bernie

"AA+" wrote:

How do I return the value of Cell A2 as AA+ or No Degree in Cell B2?


Highest Education Level Description AA+ or No Degree
G-Bachelor's Level Degree AA+
C-HS Graduate No Degree


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 515
Default Logical Test - Returning Value

=IF(ISERROR(SEARCH("degree",A3)),"No degree","AA+")

--
HTH

Kassie

Replace xxx with hotmail


"AA+" wrote:

How do I return the value of Cell A2 as AA+ or No Degree in Cell B2?


Highest Education Level Description AA+ or No Degree
G-Bachelor's Level Degree AA+
C-HS Graduate No Degree


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
Logical test in IF statement returning incorrect result Isabel Excel Worksheet Functions 3 December 13th 07 06:13 PM
Logical test retiredguy New Users to Excel 2 January 27th 07 05:56 PM
logical test LisaD Excel Worksheet Functions 3 August 8th 06 03:24 PM
Logical Test Lance Excel Worksheet Functions 1 March 16th 06 09:26 PM
Logical test Sooraj Excel Discussion (Misc queries) 2 January 25th 05 12:59 PM


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