Improve company productivity with a Business Account.Sign Up

x
?
Solved

Formula if statement.

Posted on 2014-04-07
2
Medium Priority
?
151 Views
Last Modified: 2014-04-07
In and formula, how I say: if the 4th character from the left of whatever is in column A is an "R", put the word "Radius" in the cell.  Formula is going in same row column E.

The false side of the statement is if the 4th character is a "S" put "Square" in the cell.
If neither put a blank.

I am terrible with if statements..
0
Comment
Question by:RWayneH
2 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 2000 total points
ID: 39983076
Try:

=IF(MID(A2,4,1)="R","Radius",IF(MID(A2,4,1)="s","Square",""))
0
 

Author Closing Comment

by:RWayneH
ID: 39983116
Thanks worked fine.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article describes a serious pitfall that can happen when deleting shapes using VBA.
This article presents several of my favorite code snippets.
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 …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

606 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