Solved

Need Help with Excel Formula

Posted on 2013-06-19
3
305 Views
Last Modified: 2013-06-19
I want to use the IFERROR function or ISNA function to do the following on my spreadsheet but I cannot seem to get it to work.
      
I want to check if cells D4=D5
If that is true, I want it to check cells E4=E5.
If that is true, return me the value Buy/Sell Occurred.

How do I do that?
0
Comment
Question by:ArisaAnsar
3 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39260339
Try:

=IF(D4=D5,IF(E4=E5,"Buy/Sell Occurred",""),"")

Note:  ISNA or IFERROR isn't required here... the formula will return a null if not true.  You can insert a phrase between the sets of  double quotes if desired
0
 

Author Closing Comment

by:ArisaAnsar
ID: 39260358
Thank you so very much.
0
 
LVL 26

Expert Comment

by:pony10us
ID: 39260371
Just a little addition. You can expand on NB_VC's formula to get as creative as you want

For example:

=IF(D4=D5,IF(E4=E5,"Buy/Sell Occurred","Buy Occurred"),IF(E4=E5,"Sell Occurred","NothinghappenedToday"))

Try various combinations in D4, D5, E4 and E5 to see the results.  

I was just needing a distraction from work and thought I would play for a minute.  :)
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
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;…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

708 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

11 Experts available now in Live!

Get 1:1 Help Now