Solved

Additional criteria in a forumula required

Posted on 2016-08-15
4
53 Views
Last Modified: 2016-08-16
HI Guys
I’m hoping you can help me with some suggestions
In the attached sheet, there is a formula copied down in column S that looks at various criteria across columns K, N and O. It looks to see if there is a date in column K, then if a date is present in columns N and O before returning the desired result (ie. the BG reference)
What I need in this formula is also (as well as the above) to include the criteria stating if the date in column T (or K however I was getting a circular reference) is greater than the current day’s date, then its OK to still show the BG reference. If the date is less than today’s date, then the respective cell in Column S will return a blank.

I tried modifying the formula is column S to read but am getting a circular reference error :-
=IF(K2="","",IF(N2<>"","",IF(O2<>"","",if(t2<$z$1,””,LEFT(B2,8))))

For example, I have highlighted the items in question, in Column V, in orange. For example , row 5, cells S5 to Y5 would be blank as the date is less than today’s date. As all these cells bounce off a value being present in Column S, they would automatically be empty if the formula in S5 contained the ‘date’ if then criteria.

Any help would be greatly appreciated
J
ExpoJoJoReport---Test---Copy.xls
0
Comment
Question by:Jase Alexander
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 40

Expert Comment

by:als315
ID: 41757389
Try this sample (you should move all IF from other cells to S)
ExpoJoJoReport---Test---Copy.xls
0
 
LVL 31

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 total points
ID: 41757404
You are having issue because you have too many dependent columns.
See if the following formula works for you.

In S2
=IFERROR(IF(OR(K2="",N2<>"",O2<>"",IF(LEFT(H2,2)="UK",K2+4,K2+8)<TODAY()),"",LEFT(B2,8)),"")

Open in new window

1
 

Author Closing Comment

by:Jase Alexander
ID: 41757665
Superb! It worked perfect.

Thank you so much for the help - I appreciate it

J
0
 
LVL 31

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41757694
You're welcome. Glad I could help.
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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;…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

623 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