Solved

Excel Formula

Posted on 2011-02-27
3
241 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 500 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

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…
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 …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

717 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