Solved

IF And

Posted on 2011-03-01
2
703 Views
Last Modified: 2012-05-11
Experts,

I am trying to figure out why the record highlighted in Red towards the very bottom does not state an amount in Column L row 197.  There is comparing of dates and such and I am not certain exactly why the record above does state a USD Equivalent but the one hightlighted in red does not.  Can someone make sense of that formula?

thank you

row 197, column L
the statement is as follows (too large for me to understand)
=IF(AND($F197>$L$19,$C197<$L$18),IF($G197="USD",$H197,(IF($G197=$H$4,$H197*$L$4,(IF($G197=$H$5,$H197*$L$5,(IF($G197=$H$6,$H197*$L$6,(IF($G197=$H$8,$H197*$L$8,(IF($G197=$H$9,$H197*$L$9,(IF($G197=$H$10,$H197*$L$10,0))))))))))))),0) LCcost.xls
0
Comment
Question by:pdvsa
[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 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 500 total points
ID: 35011804
=IF(AND($F197>$L$19,$C197<$L$18)....

This is the first test on your formula. Both conditions must be met for the IF function to execute the "true" part of the function. If you check the values on cells F197>L19 this condition is true (16/02/11>01/10/10) but the second condition is not true C197<L18 (16/02/11<01/01/11). So the AND condition is false thus the formula returning 0. If you try changing the value on cell C197 to say 16/02/10 then you will get a result on cell L197 of:

449,595.24

jppinto
0
 

Author Closing Comment

by:pdvsa
ID: 35012491
thanks
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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…

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