Solved

Usingand Excel Formula, looking at multiple columns to update one status

Posted on 2014-10-13
5
64 Views
Last Modified: 2014-10-13
I have an excel sheet with some rows I want to evaluate that would set the value of a blank column and need help with the formula.

Column J is the column with the result

Checks in this order of override

Column J should = "" is Column L is Not Blank
Column J should = "Warning" if Column K begins with "Warning:"
Column J should = "Missing" if Column L is blank
0
Comment
Question by:Matt Pinkston
5 Comments
 
LVL 31

Expert Comment

by:Rob Henson
Comment Utility
=IF(L2<>"","",IF(LEFT(K2,7)="Warning","Warning",IF(L2="","Missing","other")
0
 
LVL 24

Accepted Solution

by:
Steve earned 500 total points
Comment Utility
I would read above as:
=IF(LEN(L2)=0,"Missing",IF(LEFT(K2,8)="Warning:","Warning",""))
(reverse override order to Rob)

Rob is also missing a couple of closing brackets!
0
 
LVL 6

Expert Comment

by:johnb25
Comment Utility
Hi,

This in Cell J2.
=IF(ISBLANK(L2)=FALSE,"",IF(LEFT(K2,8)="Warning:","Warning",IF(ISBLANK(L2)=TRUE,"Missing")))

John
0
 

Author Closing Comment

by:Matt Pinkston
Comment Utility
it appears out of the three solutions this one worked in all cases, Thanks
0
 
LVL 31

Expert Comment

by:Rob Henson
Comment Utility
Apologies for the missing brackets, I typed it rather than copied it from a cell.

I put the checks in the order described in the question. Looking back at it, is the order due to a logical check, ie an entry has been made in L and said entry does not cause a warning message in K. If so it would make sense to put the "L = blank" check at the start and then some AND logic to check entry and warning:

=IF(L2="","Missing",IF(AND(L2<>"",LEFT(K2,7)<>"Warning"),"","Warning"))

Thanks,
Rob H

Note: Might be same as Steve's suggestion.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
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…

772 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

13 Experts available now in Live!

Get 1:1 Help Now