Solved

Microsoft Excel formulas

Posted on 2014-04-13
7
102 Views
Last Modified: 2014-08-27
Please help! I have one question : I have a several names in one column and I need that the letter A,B or C appear on the next column when I write this name. There's more than two variables.  (F.E.  in column A I have 3 names : James, Thomas, Nickolas and I need whenever I write name James on column C should appear a letter A. What formula should I use? If you understood this question it would be perfect.
0
Comment
Question by:Neznayka
  • 4
  • 2
7 Comments
 
LVL 19

Accepted Solution

by:
regmigrant earned 500 total points
ID: 39997588
simple way:-

put this in  C1 and copy down:

=if(a1="James","A",if(a1="Thomas","B",if(A1="Nickolas","C")))

However if you have more names then you will have to add more If Statements and the maximum is 8. A more complete way to do it would be to have a list of names with a lookup - see attached file
nameref.xlsx
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39997592
Hi Neznayka,

Try this=IF(A1="James","A",IF(A1="Thomas","B",IF(A1="Nikolash","C","")))

if need further clarification....let me know.


Thanks
0
 
LVL 19

Expert Comment

by:regmigrant
ID: 39997595
Jinx :)
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 8

Expert Comment

by:itjockey
ID: 39997598
ooopppsss Mr.ragmigrant,


i seen your comment after posting....  :)

Thanks
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39997600
Jinx :)

Even this too  ;)
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39997606
How bat this shorter one  =IF(A1={"James","Thomas","Nikolash"},{"A","B","C"},"")
0
 
LVL 80

Expert Comment

by:byundt
ID: 39997676
If you make a little table, you will find it easier to maintain your formulas. You can then use a VLOOKUP formula like:
=VLOOKUP(A1,LookupTable,2,FALSE)

James             A
Thomas         B
Nickolas         C

I used a dynamic named range LookupTable (instead of a fixed address like $Y$2:$Z$4) to refer to the little table so you can add people to the table without needing to change your formulas. Using the Formulas...Name Manager menu item, hit the New button then add a name like LookupTable with a Refers to formula like:
=$Y$2;INDEX($Z$2:$Z$100,COUNTA($Y$2:$Y$100))
LookupTableQ28411542.xlsx
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now