Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel Formula

Posted on 2011-02-27
3
Medium Priority
?
244 Views
Last Modified: 2012-05-11
Hello,

Trying to build a formula for the following:
If sheet2 k1 or k2 contains TS anywhere in those cells and sheet12.aj45 is greater than >30, then display sheet12.ao45 value.
0
Comment
Question by:sandramac
[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
3 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 total points
ID: 34992392
Try

=IF(AND(COUNTIF(Sheet2!K1:K2,"*TS*")>0,Sheet2!AJ45>30),Sheet2!AO45,"")

regards, barry
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 34992418
Note by using the wildcards * in COUNTIF that means it looks for TS anywhere in the cell, including within other test, so if K1 contains "arTS" then that would qualify. If you just want to look for "TS" with no other text allowed in the cell then remove the two *, i.e.

=IF(AND(COUNTIF(Sheet2!K1:K2,"TS")>0,Sheet2!AJ45>30),Sheet2!AO45,"")

regards, barry

0
 

Author Closing Comment

by:sandramac
ID: 34992512
Thanks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

618 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